system-pri/README.md

34 lines
494 B
Markdown
Raw Normal View History

2022-05-07 00:36:26 +02:00
# system-pri
2022-05-23 14:23:22 +02:00
System organizacji PRI
## Usage
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
```
## Development
Run concrete commands: \
For backend:
```bash
docker-compose exec backend flask db migrate
```
For frontend:
```bash
docker-compose exec frontend npm i bootstrap@4
```