Add basic dev setup for back-end

This commit is contained in:
Christoph Lienhard 2019-08-31 13:56:07 +02:00
parent 4fd298bac3
commit ee6ff8e9aa
3 changed files with 23 additions and 0 deletions

17
backend/README.md Normal file
View file

@ -0,0 +1,17 @@
# Cancymat Backend
The backend providing the data and managing changing the data.
## Development setup
### Install
Run inside this folder
```
./dev-setup.sh
```
### Run
Start the virtual environment
```
source venv/bin/activate
```

5
backend/dev-setup.sh Executable file
View file

@ -0,0 +1,5 @@
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

1
backend/requirements.txt Normal file
View file

@ -0,0 +1 @@
Flask==1.1.1