Update page 'Home'
parent
50457e2d7a
commit
cf7079edb4
4
Home.md
4
Home.md
@ -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:
|
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:
|
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:
|
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/
|
After this, your local instance is available on http://127.0.0.1:5000/
|
Loading…
Reference in New Issue
Block a user