Skip to content
Snippets Groups Projects
Forked from funkwhale / funkwhale
7625 commits behind the upstream repository.
user avatar
Eliot Berriot authored
0.5.3 (2018-02-27)
------------------

Features:

- Added admin interface for radios, track files, favorites and import requests (#80)
- Added basic instance stats on /about (#82)
- Search now unaccent letters for queries like "The Dø" or "Björk" yielding more results (#81)

Bugfixes:

- Always use username in sidebar (#89)
- Click event outside of player icons (#83)
- Fixed broken import because of missing transaction
- Now always load next radio track on last queue track ended (#87)
- Now exclude tracks without file from radio candidates (#88)
- skip to next track properly on 40X errors (#86)

Other:

- Switched to towncrier for changelog management and compilation
48bd450e

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