From cf7079edb467704bb6ca07509dc0ac67f1fc9f76 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 23 Jul 2018 08:56:05 +0000 Subject: [PATCH] Update page 'Home' --- Home.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Home.md b/Home.md index ee56e3c..87fa5eb 100644 --- a/Home.md +++ b/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: - 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/ \ No newline at end of file