Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
Simon Bowie d89e92d6e1 more database changes: new database structure 2 lat temu
nginx-conf Added MariaDB config for production use 3 lat temu
web more database changes: new database structure 2 lat temu
.env.template Updated environment file template 3 lat temu
.gitignore Added environment file template 3 lat temu
README.md Updated README 3 lat temu
docker-compose.prod.yml Added Gunicorn and Nginx for production use 3 lat temu
docker-compose.yml Initial commit 3 lat temu

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