Skip to content
Snippets Groups Projects
Select Git revision
  • 1288-user-me-can-be-created-but-cannot-be-edited
  • profile-menu-redesign
  • develop default protected
  • 1218-smartplaylist_backend
  • 1509-background-playback-broken-in-android-browsers
  • 1595-changelog-for-recent-versions-wrongly-formatted
  • 653-enable-starting-embedded-player-at-a-specific-position-in-track
  • 1381-progress-bars
  • 1515-update-click
  • update-uvicorn
  • update-boto3
  • update-bleach
  • pipenv
  • master
  • stable
  • 1518-update-django-allauth
  • 1434-update-pyld
  • 1481
  • update-frontend-dependencies
  • back-option-for-edits
  • 1.1.4
  • 1.1.3
  • 1.1.2
  • 1.1.1
  • 1.1
  • 1.1-rc2
  • 1.1-rc1
  • 1.0.1
  • 1.0
  • 1.0-rc1
  • 0.21.2
  • 0.21.1
  • 0.21
  • 0.21-rc2
  • 0.21-rc1
  • 0.20.1
  • 0.20.0
  • 0.20.0-rc1
  • 0.19.1
  • 0.19.0
40 results

funkwhale

  • Clone with SSH
  • Clone with HTTPS
  • Forked from funkwhale / funkwhale
    8072 commits behind the upstream repository.

    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