Simon Bowie cb027b0171 fixing subdomain redirection in Flask | пре 2 година | |
---|---|---|
nginx-conf | пре 3 година | |
web | пре 2 година | |
.env.template | пре 3 година | |
.gitignore | пре 3 година | |
README.md | пре 2 година | |
docker-compose.prod.yml | пре 3 година | |
docker-compose.yml | пре 3 година |
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:
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())