Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 792 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 792 Bytes

middleman

Ruby/Bundler/Middleman Docker image for generating static websites, based on Alpine Linux.

Usage

While being at the root of your Middleman project (where you would normally run middleman), run any middleman command, for example:

# middleman build
docker run --rm -v $(pwd):/src zeroplusx/middleman build

# middleman server + open localhost URL in your browser when ready
docker run --rm -p 4567:4567 -v $(pwd):/src zeroplusx/middleman server | awk '/View your site at/ {system("open http://localhost:4567")}'

When you are done, just press CTRL+C and it will close and remove the Docker container.

Maintainers