Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 924 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 924 Bytes

ERC-MAP

Stack and libraries used

Installation notes

  • 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 like prod but with debug mode enabled)
  • Run the following commands at the root of your project :
    # Install prerequisites
    composer install --no-dev

    # Apply migrations and load seed data
    php bin/console doctrine:migrations:migrate --no-interaction
  • Start (or restart) web server