No Description

Ingolf Wagner 227d10b8b2 try to fix the mainbuild 1 year ago
app 39386fa117 Replaced Database with a JSON file 1 year ago
doc daaf0f446e npm/elm setup (including a diagram) 2 years ago
scripts 955bb662e7 add primitive database 1 year ago
src 39386fa117 Replaced Database with a JSON file 1 year ago
tests 39386fa117 Replaced Database with a JSON file 1 year ago
.gitignore 09e21eb8fe Add Cassette SVG which can be changed 1 year ago
README.md 955bb662e7 add primitive database 1 year ago
build.sh b2fe107965 wip 1 year ago
default-fhsuser.nix 3cd1078df2 add lessc for css compilation 2 years ago
default.nix 227d10b8b2 try to fix the mainbuild 1 year ago
elm-package.json aed97c12d4 Made Playlist reorderable 1 year ago
package.json 227d10b8b2 try to fix the mainbuild 1 year ago
package.sh b2fe107965 wip 1 year ago
publish.sh 5da7779fe6 add buildscript 1 year ago
test.sh 5da7779fe6 add buildscript 1 year ago
yarn.lock 955bb662e7 add primitive database 1 year ago

README.md

Mix Tape Maker

dependencies

  • elm (globally installed, or use nix-shell)
  • elm-reactor (globally installed, or use nix-shell)
  • elm-format (globally installed, or use nix-shell)
  • electron (globally installed, or use nix-shell)
  • lessc (globally installed, or use nix-shell)
  • yarn (or npm)

How to install development environment

yarn install

And than run electron-rebuild

yarn run rebuild

How to run

yarn run start

Troubleshooting

If the NODEJS version does not match try running electron-rebuild

yarn run rebuild

How to run Tests

Go in the ./tests folder and run elm-reactor go open http://localhost:8000/ in you browser, and open the AllTest.elm

How to package

yarn run dist

How to format

Run elm-format before committing code.

yarn run format:src
yarn run format:test

Folder Structure

  • src dynamic source that will be compiled
  • tests test code
  • app static source (compiled code goes in here)
  • scripts folder with helper scripts for developer

Troubleshooting

Package with Nix-Shell

Because NixOs has problems "just running" binaries form the internet, and electron-build depends on it, we have to create a fhsuserenvironment.

You have to run

nix-shell default-fhsuser.nix
yarn dist