lopezpedres / recalls-project

1 stars 0 forks source link

Recalls-project

Note: To test the current APIs go to dev branch

Environment setup

The docker-compose.yml has two services defined:

In order to generate the SECRET_KEY environment variable for config/app.env and config/app.local.env, you must generate a random hexadecimal string with 100 characters.

openssl rand -hex 100

For a database password, set the POSTGRES_PASSWORD in config/database.env by using a random string with 15 characters.

openssl rand -base64 15

Running the app

docker-compose up -d
# or for local development
./scripts/start.sh

By running this command in your local machine the app would not be connected to the database unless the database is active in docker. Activate