Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Simon Bowie 4df1dbd52c more error handling in database_functions.sh il y a 2 ans
nginx-conf Added MariaDB config for production use il y a 3 ans
web changes to database creation and new script to perform database function il y a 2 ans
.env.template resolving issue with login redirects through setting SSL scheme il y a 2 ans
.gitignore added to database_functions.sh script il y a 2 ans
README.md changes to database creation and new script to perform database function il y a 2 ans
database_functions.sh more error handling in database_functions.sh il y a 2 ans
docker-compose.prod.yml Added Gunicorn and Nginx for production use il y a 3 ans
docker-compose.yml Initial commit il y a 3 ans

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

Legacy instructions:

The following is no longer required in Flask-SQLAlchemy 3. See https://stackoverflow.com/questions/73968584/flask-sqlalchemy-db-create-all-got-an-unexpected-keyword-argument-app

To build the database run:

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