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 d89e92d6e1 more database changes: new database structure преди 2 години
nginx-conf Added MariaDB config for production use преди 3 години
web more database changes: new database structure преди 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'@'%';