- Hobby project, made with Django + DRF, VueJS (Vuex, Vue Rouer, Vuetify).
- App is available in one languages: English. (Support could be added for more)
- Daily ranking system, first rankes wordles by number of guesses, then time
- All time ranking (uses average guesses and average time after a player has completed 10 wordles)
- Install docker and docker-compose
- Install npm (comes with node.js)
- Install npm packages and build production bundle
npm install
npm run build
- Build the docker image
docker compose build
- Launch the local version of the app as a daemon (background process)
docker compose up -d
- Create a super user account
sudo docker-compose exec web python3 manage.py createsuperuser
- Use superuser account at
/admin
to manage and add users
โ ๏ธ This section is out of date and likely will not work: If you want to contribute and help me get this working feel free
- Sign up for free Heroku account and install Heroku CLI
- Shell commands:
$ heroku apps:create your_app_name
$ heroku git:remote --app your_app_name
$ heroku buildpacks:add --index 1 heroku/nodejs
$ heroku buildpacks:add --index 2 heroku/python
$ heroku addons:create heroku-postgresql:hobby-dev
$ heroku config:set DJANGO_SETTINGS_MODULE=ranker.settings.prod
$ heroku config:set RANKER_SECRET_KEY='production SECRET_KEY value'
# superuser section, set values as needed
$ heroku config:set DJANGO_SUPERUSER_USERNAME=admin
$ heroku config:set DJANGO_SUPERUSER_PASSWORD=admin
$ heroku config:set [email protected]
$ git push heroku
- Use
$ heroku open
to reach the application.
Big thanks to gtalarico/django-vue-template for settings template and perfect instructions.