Go to file
Eliot Berriot 20812731ae Merge branch 'feature/2-login-redirect' into 'develop'
Fixed #2: now redirect to previous page after login

Closes #2

See merge request funkwhale/funkwhale!26
2017-12-15 21:24:59 +00:00
api Version bump and changelog 2017-12-14 23:08:41 +01:00
demo
deploy WIP: Debian installation instructions 2017-07-20 23:30:25 +02:00
docker/nginx Now return media files with absolute URL 2017-07-11 09:14:54 +02:00
docs WIP: Debian installation instructions 2017-07-20 23:30:25 +02:00
front Fixed #2: now redirect to previous page after login 2017-12-15 22:23:56 +01:00
.dockerignore
.editorconfig
.env.dev
.gitattributes
.gitignore
.gitlab-ci.yml WIP: Debian installation instructions 2017-07-20 23:30:25 +02:00
CHANGELOG Fixed #2: now redirect to previous page after login 2017-12-15 22:23:56 +01:00
CONTRIBUTORS.txt
LICENSE
README.rst
dev.yml Fixed #7: store release-group id on Album 2017-12-13 23:36:10 +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