-
Configure your env:
1.1. Configure ssl and superuser's details:
cp .env.example .env nano .env
SITE - server domain for SSL certificate
1.2. Configure SECRET_KEY:
Create new secret key using terminal
openssl rand -hex 32 # Outputs something like: f92797569676a7cccd940e3a3d0f78cc5311e280840832beaa8b0d85cfe0a069
Copy new secret key to .env.secret
cp .env.secret.example .env.secret nano .env.secret
-
Install frontend:
bash scripts/install_frontend.sh
-
Run:
- Run with production environment:
bash scripts/build_frontend.sh bash scripts/start.sh
or
- Run with development environment:
bash scripts/start_dev.sh
- Run with production environment:
- Run tests:
bash scripts/start_e2e_tests.sh
- You can see new videos in cypress/videos folder
bash scripts/start_backend_tests.sh
API documentation available by addresses:
Application sends emails within next events:
- Creation of new user (confirmation letter)
- Creation of new task (to assigned users)
- Task edition (to assigned users)
By default app uses local smtp server: http://localhost:8025/
If you want to use real smtp server, you need to edit docker-compose config. Change environment for backend service and remove mailhog service.