fix venv executable name in readme

shorten nxy-db-dump.service
fix irc3 requirement (async/await became keywords with python3.7, so mrhanky's older version will no longer work)
This commit is contained in:
jkhsjdhjs 2018-08-14 00:18:44 +02:00
parent 1e13cb5a37
commit a678fa791d
Signed by: jkhsjdhjs
GPG Key ID: BAC6ADBAB7D576CC
3 changed files with 5 additions and 4 deletions

View File

@ -25,7 +25,7 @@ Clone git repo, create virtual env, activate it and install dependencies:
```sh ```sh
git clone https://gitfap.de/mrhanky/nxy.git git clone https://gitfap.de/mrhanky/nxy.git
python3 -m venv env python3 -m venv env
source env/bin/active source env/bin/activate
pip install -U -r nxy/requirements.txt pip install -U -r nxy/requirements.txt
``` ```
@ -69,4 +69,4 @@ Finally run nxy:
``` ```
python3 -m bot python3 -m bot
``` ```

View File

@ -3,4 +3,4 @@ Description=nxy database dump timer
[Service] [Service]
Type=oneshot Type=oneshot
ExecStart=/bin/sh -c "/usr/bin/pg_dump -d nxy_prod > dump.sql" ExecStart=/usr/bin/pg_dump -d nxy_prod -f %h/dump.sql

View File

@ -1,6 +1,7 @@
#git+https://github.com/gawel/irc3.git#egg=irc3 #git+https://github.com/gawel/irc3.git#egg=irc3
git+https://github.com/mrhanky17/irc3.git#egg=irc3 #git+https://github.com/mrhanky17/irc3.git#egg=irc3
git+https://github.com/mrhanky17/docopt.git#egg=docopt git+https://github.com/mrhanky17/docopt.git#egg=docopt
irc3==1.1.0
aiocron==0.6 aiocron==0.6
psycopg2==2.7.1 psycopg2==2.7.1
requests==2.14.2 requests==2.14.2