Browse Source

Updated README

joel
Simon Bowie 3 years ago
parent
commit
501a7b0df8
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      README.md

+ 6
- 0
README.md View File

@@ -3,3 +3,9 @@ To build the database run:
`docker exec -it python python`
`from app import db, create_app, models`
`db.create_all(app=create_app())`

For creating database and user:

`CREATE DATABASE toolkit;`
`CREATE USER 'flask'@'%' IDENTIFIED BY '[PASSWORD]';`
`GRANT CREATE, INSERT, UPDATE, SELECT, DELETE ON toolkit.* TO 'flask'@'%';`

Loading…
Cancel
Save