aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-11 09:51:57 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-11 09:51:57 +0100
commit2992eced7e449e8ace4840384c20be6564358fab (patch)
tree8d183398a8fb644df23b568ca9b34b3e034a31b2 /README.md
parentUpdated README. (diff)
downloadnewspipe-2992eced7e449e8ace4840384c20be6564358fab.tar.gz
newspipe-2992eced7e449e8ace4840384c20be6564358fab.tar.bz2
newspipe-2992eced7e449e8ace4840384c20be6564358fab.zip
Updated README.
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 8 insertions, 6 deletions
diff --git a/README.md b/README.md
index 069b8487..daf6d96b 100644
--- a/README.md
+++ b/README.md
@@ -37,7 +37,7 @@ Newspipe is really easy to deploy.
### Requirements
```bash
-$ sudo apt-get install npm postgresql
+$ sudo apt-get install npm
```
## Configure and install the application
@@ -47,19 +47,21 @@ $ git clone https://git.sr.ht/~cedric/newspipe
$ cd newspipe/
$ npm install
$ poetry install
-$ cp instance/production.py instance/development.py
+$ export Newspipe_CONFIG=sqlite.py
$ poetry shell
$ python manager.py db_create
$ python runserver.py
* Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
```
-If you want to use SQLite you do not need to install PostgreSQL. Simply use
-the provided configuration file (in ``instance/sqlite.py``) thank to this
-environment variable:
+If you want to use PostgreSQL you can customize
+the provided example configuration file (in ``instance/production.py``):
```bash
-export Newspipe_CONFIG=sqlite.py
+$ sudo apt-get install postgresql
+$ cp instance/production.py instance/postgresql.py
+$ vim instance/postgresql.py # customize it
+$ export Newspipe_CONFIG=postgresql.py
```
## License
bgstack15