Quickstart

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!).

See the DDEV virtual machine quickstart instructions on this page, or continue below for local PHP instructions.

PHP

Prerequisites

  1. PHP (7.3+, 8.1+ preferred; test in a terminal with php --version).

  2. Composer.

Note: If you have composer installed globally you can use composer instead of ./composer.phar in the first command.

Instructions

Run these commands in a terminal

  1. Install the code base using Composer:

    • ./composer.phar create-project drutopia/drutopia_template:dev-master --no-interaction my-drutopia-site

  2. Change into the project directory:

    • cd my-drutopia-site

  3. Run a script to get the latest tested versions of all Drupal projects for the Drutopia release you’re installing.

  4. Change into the web root and start PHP’s built-in server:

    • cd web && php -S localhost:8008

  5. Open localhost:8008 and follow the installation instructions; leaving everything at defaults will be fine.

See the README that was downloaded in that step for more.