Playlist.science with users and actual features
alpha.medley.live
dc
is an alias for docker-compose
If you don't have that alias, make it. It's good.
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
visit localhost:4321
This will be empty black page. Proceed with next step.
import songs into db from https://api.playlist.science
dc exec php sh
bin/console importOldSystemData api.playlist.science
visit localhost:4321
You can click on tracks and they will play