Skip to content

Running waveform‐playlist for development

gilpanal edited this page Oct 24, 2025 · 8 revisions

NOTE: You may need to install Ruby and jekyll:

https://jekyllrb.com/docs/installation/

In case of issues with jekyll:

chruby 3.1.3
ruby -v
cd waveform-playlist

nvm use 14 # or nvm use 16.13

npm i # or npm ci

# waveform-playlist commands

# loads the library from "dist/waveformp-playlist/js"
npm start

# Will generate the "waveform-playlist.umd.js" library at "../src/pages/composition/scripts" 
# for DEVELOPMENT
npm run dev-hiaudio

# Will generate the "waveform-playlist.umd.js" library at "../src/pages/composition/scripts" 
# for PRODUCTION
npm run prepare-and-copy


# WORK ON THE BRANCH: hiaudiodev
# We avoid using main branch. 
# For a new task we "checkout -b" from hiaudiodev and when finished we always merge into hiaudiodev

git checkout hiaudiodev

git pull origin hiaudiodev

git checkout -b <newdevtask>

git push origin <newdevtask>

Keep up to date waveform-playlist submodule:

git submodule update --recursive --remote --merge

Clone this wiki locally