mirror of
https://framagit.org/tykayn/date-poll-api
synced 2023-08-25 08:23:11 +02:00
📖 docs
This commit is contained in:
parent
3800818fdc
commit
7f8d0685e1
@ -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$'
|
||||
|
11
README.md
11
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
|
||||
|
Loading…
Reference in New Issue
Block a user