This is the main component of leihs. See the super project leihs/leihs for more information.
Install needed dependencies:
Shortcut: If you changed the assets and just want the CI to be green:
./bin/precompile-and-amend-assets && git push -f
Optionally webpack can run alongside rails, to compile files on change instead of on request (faster). This is recommended when working on JS/Frontend primarily:
run ./bin/webpack-dev-server
before starting ./bin/rails server
# run a base ruby container to try out something. will self-delete on exit.
docker run --rm -it -v ${PWD}/:/leihs/legacy --workdir /leihs/legacy ruby:2.7.5-bullseye /bin/bash
# or with the leihs app inside: