Rathoz / audio

Sångbok via WWW

Home Page:https://audio.datasektionen.se

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

/dev/audio

Installing

git clone git@github.com:datasektionen/audio.git
cd audio

Install some dependencies

pipenv install && pipenv shell
npm install

Start development server

npm start

In case you're getting webpack errors, you can attempt to solve it by running npm dedupe to fix multiple versions of webpack being installed. We tried removing webpack, but then it also complained.

Loading songs statically

If running locally, you can change the bool "loadSongsStatically" to true and uncomment the line below, to load songs statically, which will allow you to preview changes without having to mess with the backend. In order to make changes to songs locally one can edit songs.json and run "songFormatter.py", which will separate all songs into separate json files, which the page can load statically. In case your changes are not visible, delete the ".cache" directory from the "node_modules" directory and run npm start again.

About

Sångbok via WWW

https://audio.datasektionen.se


Languages

Language:TeX 83.7%Language:JavaScript 12.1%Language:Rust 2.2%Language:HTML 1.2%Language:CSS 0.4%Language:Python 0.2%Language:Dockerfile 0.2%