Update README.md

This commit is contained in:
mrhanky 2017-09-13 22:00:18 +00:00
parent 09be12eed8
commit d792452d22

View File

@ -1,4 +1,6 @@
# Installation
# PROJECT ABANDONED
## Installation
Open psql as user ```postgres```:
```sh
@ -33,7 +35,7 @@ cp nxy/files/{.env,config.json} .
vim .env config.json
```
## Running as Service
### Running as Service
Enable linger for the bot user (so it starts at boot and keeps running), install and activate systemd unit:
```sh
@ -49,7 +51,7 @@ ln -fs $HOME/nxy/files/nxy-db-dump.{timer,service} $HOME/.config/systemd/user
systemctl --user enable --now nxy-db-dump.timer
```
## Running as Standalone in Development Mode
### Running as Standalone in Development Mode
For development set the BOT_DEV variable:
@ -67,4 +69,4 @@ Finally run nxy:
```
python3 -m bot
```
```