From 4ddbb7ecec50e7f863d88c6e9e01f63ad215c129 Mon Sep 17 00:00:00 2001 From: PLUJA <64632615+pluja@users.noreply.github.com> Date: Wed, 26 Aug 2020 08:14:36 +0200 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 55a283a..25f4e8d 100644 --- a/README.md +++ b/README.md @@ -61,25 +61,27 @@ You can test this new version. - `git clone https://github.com/pluja/Parasitter.git` 3. Navigate to the project folder: - `cd Parasitter` -4. [Optional] Prepare a virtual environment and activate it: +4. Change to this branch: + - `git checkout dev-indep` +5. [Optional] Prepare a virtual environment and activate it: > Python lets you create virtual environments. This allows you to avoid installing all the `pip` packages on your system. If you don't mind about that, you can jump to step **5.** and ignore everything about "[env]". - `python3 -m venv venv` - `source venv/bin/activate` > Now you are inside of the virtual environment for python. All instructions wiht [env] indicate that must be done inside the env if you decided to create one. From now on, you will always need to start the application from within the virtual env. -5. [env] Update pip +6. [env] Update pip - `pip3 install --upgrade pip` -6. [env] Install the required libraries: +7. [env] Install the required libraries: - `pip3 install -r requirements.txt` > Use `sudo` or, preferably `--user`, if not working. -7. [env] Initialize and prepare the database. +8. [env] Initialize and prepare the database. - `flask db init` - `flask db migrate` - `flask db upgrade` -8. [env] Run the application. +9. [env] Run the application. - `flask run` -9. Go to "http://localhost:5000/" and enjoy. +10. Go to "http://localhost:5000/" and enjoy. ### Updating to new versions: **IMPORTANT: Before updating to new versions, it is recommended to always export your data on `Settings>ExportData`. A major version update could have changes on the whole database and you may be forced to remove and reset the database!**