an elo rating webservice
Yelo needs python 3 or higher. Yelo uses uranium to handle dependencies, so you can bootstrap a service with:
./uranium
Next, setup the database with:
./bin/python manage.py migrate
(yelo will use a local sqlalchemy by default)
finally, create a superuser:
./bin/python manage.py createsuperuser
And you're data is set up!
./bin/develop
for dev mode.
Yelo is a Django app, so you can really choose whatever gateway interface you want.
But, if you don't have a preference, we chose gunicorn.
You can start a production gunicorn server with:
./bin/production
(you can modify uranium.yaml to change the settings)
note
: on the production server, statics have to be served separately.
See the host_config/yelo.conf for an example of how to do this with nginx.
Remember, you have to collect statics with django:
./bin/python manage.py collectstatic