-
Use CMD
-
Import requirements.txt
-
Create virtual env
- cd to current directory
- enter
> virtualenv venv > .\venv\Scripts\activate.bat
-
Set Flask
> set FLASK_APP=server.py > set FLASK_ENV=development
-
Create DB
> flask db init > flask db migrate > flask initdb > flask forge > flask run -h 140.xxx.xx.xx -p xxxx
-
Test Backend API service
- Use Daimler_Based Distributed Mobility Service Internal API Document_v5.md