You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.2KB

3 yıl önce
3 yıl önce
3 yıl önce
12345678910111213141516
  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. To build the database run:
  9. `docker exec -it python python`
  10. `from app import db, create_app, models`
  11. `db.create_all(app=create_app())`