Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Simon Bowie fdfa1dfbba Orange! pirms 3 gadiem
nginx-conf Added MariaDB config for production use pirms 3 gadiem
web Orange! pirms 3 gadiem
.env.dev Reconfigured environment variables for security pirms 3 gadiem
.gitignore Added to gitignore pirms 3 gadiem
README.md Updated README pirms 3 gadiem
docker-compose.prod.yml Added Gunicorn and Nginx for production use pirms 3 gadiem
docker-compose.yml Initial commit pirms 3 gadiem

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