Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Simon Bowie 00054099a9 updating Flask config and testing for issue with login redirects 2 лет назад
nginx-conf Added MariaDB config for production use 3 лет назад
web updating Flask config and testing for issue with login redirects 2 лет назад
.env.template updating Flask config and testing for issue with login redirects 2 лет назад
.gitignore Added environment file template 3 лет назад
README.md updating Flask config and testing for issue with login redirects 2 лет назад
docker-compose.prod.yml Added Gunicorn and Nginx for production use 3 лет назад
docker-compose.yml Initial commit 3 лет назад

README.md

One of the key deliverables for Work Package 6 of the COPIM project is “an online resource detailing opportunities for experimental book publishing”. We’ve decided to put this together in the form of an online toolkit with details of software, practices, examples, and sensitivities that can be used for experimental publishing.

The online toolkit will build on this review of tools to present a resource for a researcher, artist, or publisher looking to try experimental publishing. From our preliminary design discussions, we have plans to include not only software tools that can be used to do experimental publishing but examples of experimental publications, practices of experimental publishing, publishers who have done some form of experimental publishing, and sensitivities involved in experimental publishing.

For creating database and user in production:

docker-compose exec -it db mysql -u root -p CREATE DATABASE toolkit; CREATE USER 'flask'@'%' IDENTIFIED BY '[PASSWORD]'; GRANT CREATE, INSERT, UPDATE, SELECT, DELETE ON toolkit.* TO 'flask'@'%';

To build the database run:

docker exec -it python python from app import db, create_app, models db.create_all(app=create_app())