Simon Bowie e3c6512db7 a little logic for different resource types | 2年前 | |
---|---|---|
nginx-conf | 3年前 | |
web | 2年前 | |
.env.template | 3年前 | |
.gitignore | 3年前 | |
README.md | 3年前 | |
docker-compose.prod.yml | 3年前 | |
docker-compose.yml | 3年前 |
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'@'%';