Skip to content

nkupton/yelo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yelo

an elo rating webservice

setting it up

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!

running

development

./bin/develop

for dev mode.

production

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

About

an elo rating webservice

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 52.3%
  • HTML 22.2%
  • CSS 16.4%
  • JavaScript 7.7%
  • Puppet 1.4%