Skip to content
Snippets Groups Projects
Select Git revision
  • library-follow
  • develop default protected
  • master
  • 463-user-libraries
  • avatar-everywhere
  • playlist-component
  • 303-json-ld
  • 334-don-t-display-an-empty-page-browser
  • 316-ultrasonic
  • ButterflyOfFire/funkwhale-patch-1
  • 278-search-browse
  • 0.16.3
  • 0.16.2
  • 0.16.1
  • 0.16
  • 0.15
  • 0.14.2
  • 0.14.1
  • 0.14
  • 0.13
  • 0.12
  • 0.11
  • 0.10
  • 0.9.1
  • 0.9
  • 0.8
  • 0.7
  • 0.6.1
  • 0.6
  • 0.5.4
  • 0.5.3
31 results

funkwhale

  • Clone with SSH
  • Clone with HTTPS
  • Forked from funkwhale / funkwhale
    7690 commits behind the upstream repository.
    user avatar
    Eliot Berriot authored
    d509c090
    History

    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