Files
mojo-app/README.md
Catalin Constantin Mititiuc 203a53cb32 Add MaterializeCSS styles (#1)
## Changes
* Adds the [AssetPack](https://metacpan.org/pod/Mojolicious::Plugin::AssetPack) Mojolicious plugin
* Adds the [MaterializeCSS](https://www.npmjs.com/package/materialize-css) Node package
* Applies styles to app

Reviewed-on: #1
2026-07-31 03:07:33 +00:00

697 B

mojo-app

An example Mojolicious application.


build docker image

$ docker build -t mojo_app .

serve app

$ docker run --rm -it -p 3000:3000 mojo_app

Visit localhost:3000 with web browser.

serve app with local changes

install Mojolicious dependencies

$ docker run --rm -v $PWD:/opt/app --entrypoint carton mojo_app install

install Node packages

$ docker run --rm --init -w /opt/mojo_app -v $PWD/mojo_app:/opt/mojo_app node npm install

start the server

$ docker run --rm -v $PWD:/opt/app -p 3000:3000 mojo_app

Visit localhost:3000 with web browser. Changes should load when you reload the page, without having to restart the server.