nxy irc bot
Go to file
2017-07-04 15:22:20 +02:00
migrate Added migrate script, ready to roll i guess 2017-06-30 17:47:24 +02:00
nxy Bla, added install instructions 2017-07-04 15:22:20 +02:00
.env-example Bla, added install instructions 2017-07-04 15:22:20 +02:00
.gitignore Bla, added install instructions 2017-07-04 15:22:20 +02:00
config.json Bla, added install instructions 2017-07-04 15:22:20 +02:00
nxy-bot.service Bla, added install instructions 2017-07-04 15:22:20 +02:00
README.md Bla, added install instructions 2017-07-04 15:22:20 +02:00
repl.py Import order... 2017-06-30 14:09:46 +02:00
requirements.txt Some refactoring, pgsql follows...soon™ 2017-06-29 22:56:32 +02:00
schema.sql Bla, added install instructions 2017-07-04 15:22:20 +02:00
ssl.error Renamed db storage plugin, added comments, updated bot startup script with comments, commented the repl helper and added the ssl error from n0xy for later fix, updated sql schema 2017-06-30 13:33:21 +02:00

Installation

  • Open shell as user nxy will run
  • Install virtualenvwrapper and source it
    • source $(which virtualenvwrapper.sh)
  • Clone repo
    • git clone https://gitfap.de/mrhanky/nxy.git
  • Create virtualenv and install dependencies
    • mkvirtualenv -a $PWD/nxy -r $PWD/nxy/requirements.txt nxy
  • Copy .env-example and insert values in .env (replace everything wrapped in < and >)
    • cp .env-example .env
    • vim .env
  • Leave (auto) activated virtualenv and
    • deactivate
  • Copy systemd unit (would recommend the /usr/local prefix)
    • sudo mkdir -p /usr/local/lib/systemd/system
    • sudo cp $PWD/nxy/nxy-bot.service /usr/local/lib/systemd/system