There are two quick ways to get Drutopia up and running: PHP on your local computer or a full, production-like environment provided by a virtual machine.
In both cases we’ll end with the Drutopia distribution codebase, built by Composer, in a directory called
my-drutopia-site (please change this to whatever you would like in the instructions below!).
- PHP (5.5.9+, 7.1+ preferred; test in a terminal with
Note: If you have composer installed globally you can use
./composer.pharin the first command.
Run these commands in a terminal
./composer.phar create-project drutopia/drutopia_template:dev-master --no-interaction my-drutopia-site
cd my-drutopia-site/web && php -S localhost:8008
- Open localhost:8008 and follow the installation instructions; leaving everything at defaults will be fine.
git clone firstname.lastname@example.org:drutopia/drutopia_vm.git my-drutopia-site
vagrant up(this runs a site install via drush but unfortunately no Drutopia features are enabled).
- Log in at my-drutopia-site.test/user with the credentials username: admin, password: admin
- Enable Drutopia modules at my-drutopia-site.test/admin/modules
You can access the virtual machine (for use of Drush etc) with