Add basic dev setup for back-end
This commit is contained in:
parent
4fd298bac3
commit
ee6ff8e9aa
17
backend/README.md
Normal file
17
backend/README.md
Normal 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
5
backend/dev-setup.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
python -m venv venv
|
||||
|
||||
source venv/bin/activate
|
||||
|
||||
pip install -r requirements.txt
|
1
backend/requirements.txt
Normal file
1
backend/requirements.txt
Normal file
|
@ -0,0 +1 @@
|
|||
Flask==1.1.1
|
Loading…
Reference in a new issue