This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

756 B

Install

apt install python-virtualenv libmysqlclient-dev
pyvenv venv
. venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py loaddata testdata
  • You will also need a LastFM account and a API account from http://www.last.fm/api/account
  • Create a local_settings.py and set your own LASTFM_APIKEY and LASTFM_API_SECRET

Usage

  • Create an admin user: python manage.py createsuperuser
  • Goto /admin, login, then add a LastFMUser and make it active.
  • Setup your music player (f.ex Spotify) to scrobble to that LastFM account.
  • Goto / and you should be set :=)

Deploy

See https://blog.heroku.com/archives/2016/3/17/in_deep_with_django_channels_the_future_of_real_time_apps_in_django