Go to file
Eliot Berriot 95a8b08ac4 Merge branch 'feature/51-radio-builder' into 'develop'
Feature/51 radio builder

Closes #51

See merge request funkwhale/funkwhale!39
2018-01-07 21:22:20 +00:00
api Views and logic for custom radios 2018-01-07 22:21:01 +01:00
demo
deploy
docker/nginx
docs
front Frontend for custom radios 2018-01-07 22:21:01 +01:00
.dockerignore
.editorconfig
.env.dev
.gitattributes
.gitignore
.gitlab-ci.yml Now use postgres in tests 2018-01-07 22:21:01 +01:00
CHANGELOG Fixed #51: changelog for custom radios 2018-01-07 22:21:02 +01:00
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