Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Simon Bowie f438598893 further work on consolidating resources into one database table 2 år sedan
nginx-conf Added MariaDB config for production use 3 år sedan
web further work on consolidating resources into one database table 2 år sedan
.env.template Updated environment file template 3 år sedan
.gitignore Added environment file template 3 år sedan
README.md Updated README 3 år sedan
docker-compose.prod.yml Added Gunicorn and Nginx for production use 3 år sedan
docker-compose.yml Initial commit 3 år sedan

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'@'%';