Update README.md
This commit is contained in:
parent
09be12eed8
commit
d792452d22
10
README.md
10
README.md
|
@ -1,4 +1,6 @@
|
||||||
# Installation
|
# PROJECT ABANDONED
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
Open psql as user ```postgres```:
|
Open psql as user ```postgres```:
|
||||||
```sh
|
```sh
|
||||||
|
@ -33,7 +35,7 @@ cp nxy/files/{.env,config.json} .
|
||||||
vim .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:
|
Enable linger for the bot user (so it starts at boot and keeps running), install and activate systemd unit:
|
||||||
```sh
|
```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
|
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:
|
For development set the BOT_DEV variable:
|
||||||
|
|
||||||
|
@ -67,4 +69,4 @@ Finally run nxy:
|
||||||
|
|
||||||
```
|
```
|
||||||
python3 -m bot
|
python3 -m bot
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user