- PHP 7.3
- PostgreSQL 9.6 with PostGIS 2.4
- Symfony 4.2 with Encore build system
- Bootstrap 4.2
- jQuery 3
- ChosenJS for jQuery (autocomplete combo box)
- DataTables for jQuery (improved data tables)
- SortableJS (drag&drop)
- Create a PostgreSQL database and set the DSN connection string in the required environment variable :
DATABASE_URL=pgsql://[USER]:[PASSWORD]@[HOST]:[PORT]/[DATABASE_NAME]
- Create another environment variable containing the environment :
APP_ENV=[prep|prod]
(prep
is likeprod
but with debug mode enabled) - Run the following commands at the root of your project :
# Install prerequisites
composer install --no-dev
npm install
# Apply migrations and load seed data
php bin/console doctrine:migrations:migrate --no-interaction
# Compile front-end resources
npm run build
- Start (or restart) web server