diff --git a/.env.production b/.env.production index 130ce74..a1fc7b7 100644 --- a/.env.production +++ b/.env.production @@ -14,7 +14,7 @@ # https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration ###> symfony/framework-bundle ### -APP_ENV=dev +APP_ENV=prod APP_SECRET=597b0529ac702d27dcb9089f7e69c362 #TRUSTED_PROXIES=127.0.0.1,127.0.0.2 #TRUSTED_HOSTS='^localhost|example\.com$' diff --git a/README.md b/README.md index 7f0be8c..ed8f55f 100644 --- a/README.md +++ b/README.md @@ -7,12 +7,23 @@ https://framagit.org/framasoft/framadate/funky-framadate-front return stack of votes when we want to get the configuration of one poll (see [doc/examples.md](doc/examples.md)) *** +### Requirements +You MUST have php version 7+ and [Composer](https://getcomposer.org/download/), and a database like Mysql, or postgresql, or mongodb, or any database that Doctrine can handle. +Setup access to database by creating a .env.local file, and fill the database user and password data. +you can check that the database connection works with the command: +```bash +php bin/console doctrine:schema:validate +``` + + # Development install dependencies with Composer there are examples of request to make it all work. ## Getting started + + ### install the vendors ```bash composer install