Skip to content
Snippets Groups Projects
Commit 22793a87 authored by robban64's avatar robban64
Browse files

doc: arguments in main

parent 4bb4e95d
No related branches found
No related tags found
No related merge requests found
Pipeline #47153 passed
# Backend
## Arguments when running backend
When running main.py several arguments can be used
```
arg1(action): server(default), populate
arg2(mode): dev(default), prod
arg3(database): lite(default), postgre
```
### Running server
```
main.py -> same as below
main.py server dev lite -> Run server in dev-mode with sql-lite
main.py server prod postgre -> Run server in production-mode with postgresql
```
### Populating backend
```
main.py populate dev lite -> Populate database in dev-mode with sql-lite
main.py populate prod postgre -> Populate database in production-mode with postgresql
```
## Working with Python
In this section we briefly describe how to work with Python.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment