This document will instruct you in setting up Postmill for testing purposes.
Clone the repository somewhere and navigate there with the command line.
$ git clone https://gitlab.com/postmill/Postmill.git
$ cd Postmill
With Node 10.10 or newer, and Yarn installed, run the following:
$ yarn install
$ yarn run build-prod
The public/build directory should now be populated.
Run composer install.
Create a .env.local file in the project root. At minimum, you must define
your database configuration here:
Instructions for setting up a database can be found at
You can copy other values from .env to override them in your installation.
Run vendor/bin/requirements-checker to ensure your environment meets
necessary requirements needed to run Postmill. Fix any errors that arise.
Run bin/console doctrine:migrations:migrate to load the database schema.
Run bin/console app:user:add <username> --admin to create a user account.
bin/console app:user:add <username> --admin
Run bin/console server:run to start the application.
Navigate to http://localhost:8000/. Log in with the credentials you chose
in step 2.