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
|
||||
git clone https://gitfap.de/mrhanky/nxy.git
|
||||
python3 -m venv env
|
||||
source env/bin/active
|
||||
source env/bin/activate
|
||||
pip install -U -r nxy/requirements.txt
|
||||
```
|
||||
|
||||
@ -69,4 +69,4 @@ Finally run nxy:
|
||||
|
||||
```
|
||||
python3 -m bot
|
||||
```
|
||||
```
|
||||
|
@ -3,4 +3,4 @@ Description=nxy database dump timer
|
||||
|
||||
[Service]
|
||||
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/mrhanky17/irc3.git#egg=irc3
|
||||
#git+https://github.com/mrhanky17/irc3.git#egg=irc3
|
||||
git+https://github.com/mrhanky17/docopt.git#egg=docopt
|
||||
irc3==1.1.0
|
||||
aiocron==0.6
|
||||
psycopg2==2.7.1
|
||||
requests==2.14.2
|
||||
|
Loading…
Reference in New Issue
Block a user