geovisualisierung/projects/project-3/backend
2020-12-20 23:44:24 +01:00
..
routers Remove python 3.9 features 2020-12-20 16:54:19 +01:00
.gitignore Update gitignore and requirements 2020-12-20 01:35:55 +01:00
api_database.py Another round of speed improvements 2020-12-20 19:15:25 +01:00
api.py Move openapi spec 2020-12-20 23:44:24 +01:00
db_init.py Another round of speed improvements 2020-12-20 19:15:25 +01:00
README.md Add backend readme and requirements.txt 2020-12-19 16:25:34 +01:00
requirements.txt Update gitignore and requirements 2020-12-20 01:35:55 +01:00

Backend Project

1. Install requirements

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

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!