From e3407fc44f8ed898d1121bebe24e5dbd98f8fe3c Mon Sep 17 00:00:00 2001 From: PLUJA <64632615+pluja@users.noreply.github.com> Date: Tue, 14 Jul 2020 08:44:31 +0200 Subject: [PATCH 1/4] Update README.md --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4efaf0b..61fcd3c 100644 --- a/README.md +++ b/README.md @@ -45,9 +45,9 @@ It is always recommended to set up a self-hosted instance. It is quite easy and > 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 - `pip install --upgrade pip` -6. [env] Install the dependencies: - - `pip3 install flask flask-sqlalchemy flask-migrate python-dotenv flask-wtf flask-login email-validator feedparser bs4 requests` - > It may require you to use *sudo* +6. [env] Install the required libraries: + - `pip3 install -r requirements.txt` + > It may require you to use `sudo` or `--user` 7. [env] Initialize and prepare the database. - `flask db init` - `flask db migrate` @@ -62,7 +62,10 @@ It is always recommended to set up a self-hosted instance. It is quite easy and 1. Navigate to the git repository (the one you cloned when installing). 2. Pull new changes: - `git pull` -3. Done! You are on latest version. +4. Install new packages (if any): + - `pip install -r requirements.txt` + > It may be that there are no new packages to install. In that case, all requirements will be satisfied. +5. Done! You are on latest version. ### External access: > Coming soon.. From 59f4eb181421724daf9a32f78956d433ecc4c7b0 Mon Sep 17 00:00:00 2001 From: PLUJA <64632615+pluja@users.noreply.github.com> Date: Tue, 14 Jul 2020 08:48:13 +0200 Subject: [PATCH 2/4] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 61fcd3c..52be888 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Parasitter allows you to follow your favourite twitters without Twitter even kno * [Privacy](#privacy) * [Self hosting](#self-hosting) * [Install](#install) - * [Update](#upgrading-to-new-versions) + * [Update](#updating-to-new-versions) * [External access](#external-access) * [Powered by](#powered-by) @@ -56,9 +56,9 @@ It is always recommended to set up a self-hosted instance. It is quite easy and - `flask run` 9. Go to "http://localhost:5000/" and enjoy. -### Upgrading to new versions: -> This will never delete your database. -#### New versions may require new Python modules. You will se this displayed as an "execution error". Just install the new package. Also, you will see the new needed packages on the [CHANGELOG](CHANGELOG.md) +### Updating to new versions: +##### See [CHANGELOG](CHANGELOG.md) for the list of changes. +> Updating will never delete your database, so your following list will not be erased. 1. Navigate to the git repository (the one you cloned when installing). 2. Pull new changes: - `git pull` From 404cb9c343102bb854e27e6acfe96dc46a773d81 Mon Sep 17 00:00:00 2001 From: PLUJA <64632615+pluja@users.noreply.github.com> Date: Tue, 14 Jul 2020 08:48:59 +0200 Subject: [PATCH 3/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 52be888..dd9ad60 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ It is always recommended to set up a self-hosted instance. It is quite easy and ### Updating to new versions: ##### See [CHANGELOG](CHANGELOG.md) for the list of changes. -> Updating will never delete your database, so your following list will not be erased. +##### NOTE: Updating will never delete your database, your following list will not be erased. 1. Navigate to the git repository (the one you cloned when installing). 2. Pull new changes: - `git pull` From a1c93fc0b506614927b5652a8fc3a48897e93608 Mon Sep 17 00:00:00 2001 From: PLUJA <64632615+pluja@users.noreply.github.com> Date: Tue, 14 Jul 2020 08:50:27 +0200 Subject: [PATCH 4/4] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dd9ad60..7741668 100644 --- a/README.md +++ b/README.md @@ -57,8 +57,8 @@ It is always recommended to set up a self-hosted instance. It is quite easy and 9. Go to "http://localhost:5000/" and enjoy. ### Updating to new versions: -##### See [CHANGELOG](CHANGELOG.md) for the list of changes. -##### NOTE: Updating will never delete your database, your following list will not be erased. +**See [CHANGELOG](CHANGELOG.md) for the list of changes.**
+**NOTE: Updating will never delete your database, your following list will not be erased.** 1. Navigate to the git repository (the one you cloned when installing). 2. Pull new changes: - `git pull`