It's, like, really good, oh my gosh.
There are some dependencies that are necessary to install. There might be more. Let me know.
- You need to have python2.7, mysql, and npm.
On Linux:
sudo apt-get install build-essential python-dev libmysqlclient-dev python-mysqldb npm
On Mac:
brew install mysql npm openssl
Then follow the instructions here to get pip (brew will also give you this url if you type brew install pip
):
https://pip.readthedocs.io/en/stable/installing/
On Windows:
Just use PyCharm. It will work.
npm install -g less less-plugin-clean-css
pip3 install -r install/requirements.txt
If this doesn't work, try sudo. Some of the packages are dumb.
If this doesn't work on Mac, try:
pip install --ignore-installed -r install/pip-install
You can also just use PyCharm and it will install them for you.
On Windows:
MySQL-Python will fail, it doesn't really matter what you do. You need to install it manually.
Download the wheel here: https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysql-python
If you're using virtualenv, make sure you run path_to_venv\Scripts\activate
, then install it globally with pip install MySQL_python-1.2.5-cp27-none-win_amd64.whl
- Setup a local MySql database.
- Import
install/bestChat.sql
to get the schema and tables. (If you've already been working on it, this will wipe your tables, fyi.) - Make a user 'bestChat' with the password in
chat.cfg
and (at least) the following permissions to thebestchat
schema: DELETE, EXECUTE, INSERT, SELECT, SHOW, VIEW, UPDATE
- Set the client to use your server url (
static/js/client/BestEvarChatClient.js
line11
)
npm build
python tornado_chat.py
cat images: http://www.iconka.com
twemoji client parsing: https://github.com/twitter/twemoji
joypixels emoji assets: https://www.joypixels.com/