Simon Bowie ce3a2fcf24 some stylistic changes to match wireframes | il y a 3 ans | |
---|---|---|
nginx-conf | il y a 3 ans | |
web | il y a 3 ans | |
.env.template | il y a 3 ans | |
.gitignore | il y a 3 ans | |
README.md | il y a 3 ans | |
docker-compose.prod.yml | il y a 3 ans | |
docker-compose.yml | il y a 3 ans |
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'@'%';