📖 docs

This commit is contained in:
Baptiste Lemoine 2019-12-30 12:22:04 +01:00
parent 3800818fdc
commit 7f8d0685e1
2 changed files with 12 additions and 1 deletions

View File

@ -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$'

View File

@ -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