Skip to content

Commit

Permalink
fixed documentation and Heroku deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricbonhomme committed Apr 7, 2020
1 parent 90b9e54 commit 6012b4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ $ export FLASK_ENV=development
$ flask db_create
$ flask db_init
$ flask import_licenses_from_spdx
$ flask create_admin --nickname <nickname> --password <password>
$ flask create_admin --login <login> --password <password>
$ flask run
* Serving Flask app "runserver" (lazy loading)
* Environment: development
Expand Down Expand Up @@ -88,8 +88,8 @@ password.
If you want to create other users programmatically:

```bash
$ heroku run flask create_user --nickname <nickname> --password <password>
$ heroku run flask create_admin --nickname <nickname> --password <password>
$ heroku run flask create_user --login <nickname> --password <password>
$ heroku run flask create_admin --login <nickname> --password <password>
```

## Contributing
Expand Down
2 changes: 1 addition & 1 deletion app.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"website": "https://github.com/CASES-LU/MOSP",
"repository": "https://github.com/CASES-LU/MOSP",
"scripts": {
"postdeploy": "pybabel compile -d mosp/translations && python manager.py db_init && python manager.py create_admin admin password && python manager.py import_licenses_from_spdx"
"postdeploy": "pybabel compile -d mosp/translations && python manager.py db_init && flask create_admin admin password && flask import_licenses_from_spdx"
},
"addons": [
"heroku-postgresql:hobby-dev"
Expand Down

0 comments on commit 6012b4f

Please sign in to comment.