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.

README.md 1.4KB

3 lat temu
3 lat temu
3 lat temu
1234567891011121314151617181920
  1. 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.
  2. 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.
  3. For creating database and user in production:
  4. `docker-compose exec -it db mysql -u root -p`
  5. `CREATE DATABASE toolkit;`
  6. `CREATE USER 'flask'@'%' IDENTIFIED BY '[PASSWORD]';`
  7. `GRANT CREATE, INSERT, UPDATE, SELECT, DELETE ON toolkit.* TO 'flask'@'%';`
  8. ## Legacy instructions:
  9. 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
  10. To build the database run:
  11. `docker exec -it python python`
  12. `from app import db, create_app, models`
  13. `db.create_all(app=create_app())`