24 lines
393 B
Markdown
24 lines
393 B
Markdown
# System-pri
|
|
|
|
System organizacji PRI
|
|
|
|
|
|
## Usage
|
|
First create `.env` file and fill with similar data like `./backend/.env.example`.
|
|
|
|
Run application and init database
|
|
```bash
|
|
docker-compose up -d --build
|
|
docker-compose exec backend flask db upgrade
|
|
docker-compose exec backend flask init_db
|
|
```
|
|
|
|
Turn off application
|
|
```bash
|
|
docker-compose down
|
|
```
|
|
|
|
Show logs
|
|
```bash
|
|
docker-compose logs -f
|
|
``` |