Go to file
Eliot Berriot fb8a6644bf Merge branch 'towncrier' into 'develop'
Now use towncrier for changelog management

See merge request funkwhale/funkwhale!63
2018-02-27 18:06:53 +00:00
api Fixed broken import because of missing transaction 2018-02-27 18:12:23 +01:00
changes Now use towncrier for changelog management 2018-02-27 19:04:50 +01:00
demo
deploy Updated sample nginx conf 2018-02-24 16:57:01 +01:00
docker/nginx Nginx configuration to cache transcoded media 2018-02-19 21:21:05 +01:00
docs Fixed #85: broken documentation 2018-02-27 13:18:49 +01:00
front Fix #89: Always use username in sidebar 2018-02-27 17:51:27 +01:00
.dockerignore
.editorconfig
.env.dev Removed now useless BACKEND_URL setting 2018-02-18 14:42:17 +01:00
.gitattributes
.gitignore Ignore useless files 2018-02-18 22:05:35 +01:00
.gitlab-ci.yml
CHANGELOG Now use towncrier for changelog management 2018-02-27 19:04:50 +01:00
CONTRIBUTORS.txt
LICENSE
README.rst
dev.yml Use webpack dev proxy to serve api/media 2018-02-18 14:42:17 +01:00
pyproject.toml Now use towncrier for changelog management 2018-02-27 19:04:50 +01:00

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