0.2.7 (Unreleased) ------------------ - Shortcuts: can now use the ``f`` shortcut to toggle the currently playing track as a favorite (#53) - Shortcuts: avoid collisions between shortcuts by using the exact modifier (#53) - Player: Added looping controls and shortcuts (#52) - Player: Added shuffling controls and shortcuts (#52) - Favorites: can now modify the ordering of track list (#50) - Library: can now search/reorder results on artist browsing view (#50) - Upgraded celery to 4.1, added endpoint logic for fingerprinting audio files - Fixed #56: invalidate tokens on password change, also added change password form - Fixed #57: now refresh jwt token on page refresh - removed ugly dividers in batch import list - Fixed a few padding issues - Now persist/restore queue/radio/player state automatically - Removed old broken imports - Now force tests paths - Fixed #54: Now use pytest everywhere \o/ - Now use vuex to manage state for favorites - Now use vuex to manage state for authentication - Now use vuex to manage state for player/queue/radios |
||
|---|---|---|
| api | ||
| demo | ||
| deploy | ||
| docker/nginx | ||
| docs | ||
| front | ||
| .dockerignore | ||
| .editorconfig | ||
| .env.dev | ||
| .gitattributes | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| CHANGELOG | ||
| CONTRIBUTORS.txt | ||
| LICENSE | ||
| README.rst | ||
| dev.yml | ||
README.rst
Funkwhale
=============
A self-hosted tribute to Grooveshark.com.
LICENSE: BSD
Setting up a development environment (docker)
----------------------------------------------
First of all, pull the repository.
Then, pull and build all the containers::
docker-compose -f dev.yml build
docker-compose -f dev.yml pull
API setup
^^^^^^^^^^
You'll have apply database migrations::
docker-compose -f dev.yml run celeryworker python manage.py migrate
And to create an admin user::
docker-compose -f dev.yml run celeryworker python manage.py createsuperuser
Launch all services
^^^^^^^^^^^^^^^^^^^
Then you can run everything with::
docker-compose up
The API server will be accessible at http://localhost:6001, and the front-end at http://localhost:8080.
Running API tests
------------------
Everything is managed using docker and docker-compose, just run::
./api/runtests
This bash script invoke `python manage.py test` in a docker container under the hood, so you can use
traditional django test arguments and options, such as::
./api/runtests funkwhale_api.music # run a specific app test