system-pri/README.md

24 lines
393 B
Markdown
Raw Normal View History

2022-10-25 20:35:12 +02:00
# System-pri
2022-05-07 00:36:26 +02:00
2022-05-23 14:23:22 +02:00
System organizacji PRI
## Usage
2022-10-25 20:35:12 +02:00
First create `.env` file and fill with similar data like `./backend/.env.example`.
2022-05-23 14:23:22 +02:00
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
2022-05-23 14:23:22 +02:00
```
Turn off application
```bash
docker-compose down
```
Show logs
```bash
docker-compose logs -f
```