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:
parent
1e13cb5a37
commit
a678fa791d
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user