Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.
/ cherrymusic Public archive
forked from devsnd/cherrymusic

Stream your own music collection to all your devices! The easy to use free and open-source music streaming server.

License

Notifications You must be signed in to change notification settings

pando85/cherrymusic

 
 

Repository files navigation

CherryMusic

Build Status

This is a rewrite of CherryMusic based on django.

You can test it at: http://music.openrock.mooo.com/

  • User: test
  • Password: 1234

Setup

Configure config.yml with your music directories:

  • One path:
web:
  volumes:
    - /home/user/My Music:/usr/src/app/music:ro
  • Multiple paths:
web:
  volumes:
    - /home/user/Classic Music:/usr/src/app/music/Classic:ro
    - /home/user/Punk Music:/usr/src/app/music/Punk:ro

Install dependencies:

  • docker
  • docker-compose>=1.5.0

Create containers:

docker-compose build
docker-compose up -d

Initialice database:

docker-compose run --rm web python3 manage.py migrate auth
docker-compose run --rm web python3 manage.py migrate 

Default admin user: admin/admin

Reinstall cherrymusic

docker-compose stop
docker-compose rm

And then reinstall.

Update cherrymusic

docker-compose stop
docker-compose rm web
docker-compose build
docker-compose up -d

Development frotent

To install and run development containers:

docker-compose stop
docker-compose -f development.yml build
docker-compose -f development.yml up -d

Install bower components:

docker-compose -f development.yml run  --rm web_dev python3 manage.py bower_install -- --allow-root

Update static files

In development mode:

In ./web:

docker-compose -f development.yml run --rm web_dev python3 manage.py collectstatic

Tests

To install test containers:

docker-compose stop
docker-compose -f test.yml build

Test server:

docker-compose -f test.yml run --rm web_test /usr/src/test.sh && \
docker-compose -f test.yml stop

About

Stream your own music collection to all your devices! The easy to use free and open-source music streaming server.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 72.3%
  • CSS 11.4%
  • Python 8.2%
  • HTML 7.6%
  • Makefile 0.3%
  • Nginx 0.1%
  • Other 0.1%