Skip to content

PlaylistScience/medley

Repository files navigation

medley

Playlist.science with users and actual features

alpha.medley.live

clarification

dc is an alias for docker-compose If you don't have that alias, make it. It's good.

install

git clone git@github.com:PlaylistScience/medley.git
composer install
yarn install

If Yarn throws: No such file or directory: 'install' or ERROR: There are no scenarios; must have at least one yarnpkg/yarn#2821 (comment)

build assets

yarn encore dev

watch assets

yarn encore dev --watch

start php dev server and db

dc up -d

watch logs

dc logs -f

edit db connection

Edit .env

DATABASE_URL=pgsql://postgres:pw@db:5432/medley

dc exec php sh
bin/console make:migration
bin/console doctrine:migrations:migrate

visit localhost:4321

This will be empty black page. Proceed with next step.

create default user

bin/console addDefaultUserCommand

import songs into db from https://api.playlist.science

bin/console importOldSystemData api.playlist.science

visit localhost:4321

You can click on tracks and they will play

About

Playlist.science with users and actual features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5