Update README.md
This commit is contained in:
@@ -16,10 +16,14 @@ Visit `localhost:3000` with web browser.
|
||||
|
||||
## serve app with local changes
|
||||
|
||||
### install dependencies
|
||||
### 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
|
||||
|
||||
Reference in New Issue
Block a user