From 581d2b42c95dc46649192f6ec56f0350af2fa015 Mon Sep 17 00:00:00 2001 From: "Jeremy \"EndenDragon\" Zhang" Date: Mon, 1 May 2017 18:23:18 -0700 Subject: [PATCH] Update readme to include Python version and websockets requirement. uWSGI is good too. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d389176..714e7f4 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,11 @@ There was a time when Discord doesn't support embedding the chat on a webpage. B # Installation Would you like to run your own copy of Titan Embeds? -1. Clone the repo +1. Clone the repo (make sure you have python 2.7 installed on your system) 2. Install the pip requirements `pip install -r requirements.txt` 3. Clone `config.example.py` and rename it to `config.py`. Edit the file to your standards -4. Run the development web via `python run.py` -- Though we suggest to use a better server software (look into gunicorn, nginx, etc) +4. Make sure that the bot is online in the websockets once. This is required because the bot cannot send messages until it has used the ws. Use something like discord.py to log the bot into discord websockets. You can close it afterwards. So basically if the bot acciunt is online ONCE in it's lifespan- you're good. +5. Run the development web via `python run.py` -- Though we suggest to use a better server software (look into gunicorn, nginx, uwsgi, etc) ## Join us!