2020 Presidential Hackathon - WayFic team
This RestFUL api server is built for integrating with the navigator designed by KingWay Technology
Under your python env (>3.7) Ensure you have requirement module
pip install -r requirement.txt
Then
cd navigator
Run the server
python __main__.py
Init database
python manage.py db init
Then migrate
python manage.py db migrate
Upgrade
python manage.py db upgrade
If you want to use flask command, please specify config
export FLASK_ENV=development
export FLASK_APP=__main__.py
Then test the command.
python -m flask run