Update page 'Home'

Gergely Polonkai 2018-07-23 08:56:05 +00:00
parent 50457e2d7a
commit cf7079edb4
1 changed files with 2 additions and 2 deletions

@ -30,7 +30,7 @@ If you also want to do development, you may also run
To create the database, you have to run the Flask shell:
pipenv run env FLASK_APP=calsocial:app flask shell
pipenv run env FLASK_APP=calsocial:app FLASK_ENV=development flask shell
When you see the `>>>` prompt, use the following two-liner to create the database tables:
@ -43,6 +43,6 @@ db.create_all()
To start the app, you just have to run `calsocial` as a module:
pipenv run env PYTHONPATH=$(pwd) python -m calsocial
pipenv run env FLASK_APP=calsocial:app FLASK_ENV=development flask run
After this, your local instance is available on http://127.0.0.1:5000/