A project composed of nginx + vue + flask + mariadb, the project is for practice use.
-
write ./backend/config.yml
-
write .env
-
docker-compose up -d
-
When starting for the first time or want to clear the database, please execute the following command
cd ./backend
pipenv install
pipenv run python init_database.py
docker-compose down
get more information in http://localhost:5000/apidocs/
port | service |
---|---|
3310 | Adminer |
5000 | backend |
80 | nginx |
- Set appropriate http status code
- unsplash.com