您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Simon Bowie 51bad9749a added routes for new modules for database changes 2 年前
nginx-conf Added MariaDB config for production use 3 年前
web added routes for new modules for database changes 2 年前
.env.template Updated environment file template 3 年前
.gitignore Added environment file template 3 年前
README.md Updated README 3 年前
docker-compose.prod.yml Added Gunicorn and Nginx for production use 3 年前
docker-compose.yml Initial commit 3 年前

README.md

To build the database run:

docker exec -it python python from app import db, create_app, models db.create_all(app=create_app())

For creating database and user:

CREATE DATABASE toolkit; CREATE USER 'flask'@'%' IDENTIFIED BY '[PASSWORD]'; GRANT CREATE, INSERT, UPDATE, SELECT, DELETE ON toolkit.* TO 'flask'@'%';