Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/toumorokoshi/yelo
an elo rating webservice
https://github.com/toumorokoshi/yelo
Last synced: 8 days ago
JSON representation
an elo rating webservice
- Host: GitHub
- URL: https://github.com/toumorokoshi/yelo
- Owner: toumorokoshi
- License: mit
- Created: 2015-02-25T05:01:36.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-14T01:10:31.000Z (almost 9 years ago)
- Last Synced: 2024-10-28T20:05:09.804Z (about 2 months ago)
- Language: Python
- Size: 82 KB
- Stars: 3
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yelo
an elo rating webservice## setting it up
Yelo needs python 3 or higher. Yelo uses
[uranium](http://uranium.readthedocs.org/en/latest/) 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