mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-24 14:07:03 +01:00
Update readme to include Python version and websockets requirement.
uWSGI is good too.
This commit is contained in:
parent
55e0266583
commit
581d2b42c9
@ -13,10 +13,11 @@ There was a time when Discord doesn't support embedding the chat on a webpage. B
|
|||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
Would you like to run your own copy of Titan Embeds?
|
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`
|
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
|
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!
|
## Join us!
|
||||||
|
Loading…
Reference in New Issue
Block a user