Add backend readme and requirements.txt
This commit is contained in:
parent
4db515cbe4
commit
49c5b7912b
21
projects/project-3/backend/README.md
Normal file
21
projects/project-3/backend/README.md
Normal file
@ -0,0 +1,21 @@
|
||||
# Backend Project
|
||||
|
||||
## 1. Install requirements
|
||||
```shell
|
||||
pip3 install -r requirements.txt
|
||||
```
|
||||
|
||||
## 2. Init database
|
||||
To init the database it is required that you have at least python 3.7 installed.
|
||||
|
||||
Generate the database with
|
||||
```shell
|
||||
python3 db_init.py
|
||||
```
|
||||
|
||||
Note: Import can be interrupted to resume it later!
|
||||
Note: The importer outputs logs to the terminal, and the db_init.log file.
|
||||
|
||||
## 3. Start the backend
|
||||
To start the backend, you first have to initialize the database!
|
||||
|
1
projects/project-3/backend/requirements.txt
Normal file
1
projects/project-3/backend/requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
requests
|
Loading…
Reference in New Issue
Block a user