You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Simon Bowie 501a7b0df8 Updated README 3 yıl önce
nginx-conf Added MariaDB config for production use 3 yıl önce
web Added MariaDB config for production use 3 yıl önce
.env.dev Reconfigured environment variables for security 3 yıl önce
.gitignore Added to gitignore 3 yıl önce
README.md Updated README 3 yıl önce
docker-compose.prod.yml Added Gunicorn and Nginx for production use 3 yıl önce
docker-compose.yml Initial commit 3 yıl önce

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