From a44f02e2c7c7c3516ff7a68706a360960198f6cc Mon Sep 17 00:00:00 2001 From: redfast00 Date: Wed, 11 Sep 2019 22:39:41 +0200 Subject: [PATCH] Change haldis.py to app.py in README --- README.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 53118fd..90b06d8 100644 --- a/README.md +++ b/README.md @@ -16,19 +16,19 @@ Be lazier today! There is a special script to get started with the project. Just run it in the root of the project. ./first-setup.sh - + This will create a virtual environment, install the necessary dependencies and will give you the option to seed the database. -If you are using a database other then sqlite you will first need to configure the correct uri to the database in the generated 'config.py' file. -Afterwards upgrade the database to the latest version using +If you are using a database other then sqlite you will first need to configure the correct URI to the database in the generated 'config.py' file. +Afterwards upgrade the database to the latest version using cd app - python haldis.py db upgrade - + python3 app.py db upgrade + You can now still seed the database by running ./populate-db.sh - + in the root folder of the project. @@ -38,15 +38,15 @@ Activate the virtual environment using Finally run the webserver with - python app/haldis.py runserver - + python3 app/app.py runserver + ## Development ### Changing the database 1. Update models located in 'app/models.py' -2. Run `python app/haldis.py db migrate` to create a new migration. -3. Apply the changes to the database using `python app/haldis.py db upgrade` +2. Run `python app/app.py db migrate` to create a new migration. +3. Apply the changes to the database using `python app/app.py db upgrade` ### Adding dependencies/libraries @@ -61,4 +61,4 @@ For more information about managing the dependencies see [jazzband/pip-tools: A ## Authors -* **Feliciaan De Palmenaer** - *Initial work* - [Github](https://github.com/feliciaan) \ No newline at end of file +* **Feliciaan De Palmenaer** - *Initial work* - [Github](https://github.com/feliciaan)