Federated music sharing platform hard-forked from Funkwhale
--- MAIN REPOSITORY: https://git.prometheus.systems/funquail-team/funquail ---
https://funquail.frama.io
- Python 65.4%
- Vue 27%
- TypeScript 4.9%
- SCSS 1.5%
- HTML 0.5%
- Other 0.5%
0.4 (2018-02-18) ---------------- - Front: ambiant colors in player based on current track cover (#59) - Front: simplified front dev setup thanks to webpack proxy (#59) - Front: added some unittests for the store (#55) - Front: fixed broken login redirection when 401 - Front: Removed autoplay on page reload - API: Added a /instance/settings endpoint - Front: load /instance/settings on page load - Added settings to report JS and Python error to a Sentry instance This is disabled by default, but feel free to enable it if you want to help us by sending your error reports :) (#8) |
||
|---|---|---|
| api | ||
| demo | ||
| deploy | ||
| docker/nginx | ||
| docs | ||
| front | ||
| .dockerignore | ||
| .editorconfig | ||
| .env.dev | ||
| .gitattributes | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| CHANGELOG | ||
| CONTRIBUTORS.txt | ||
| dev.yml | ||
| LICENSE | ||
| 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