LinuxCommandLibrary

middleman

Static website development with dynamic features

TLDR

Create a new Middleman project

$ middleman init "[project_name]"
copy

Start local server for current project on port 4567
$ middleman server
copy

Start local server for current project on a specified port
$ middleman server -p "[port]"
copy

Build the project in the current directory to prepare for deployment
$ bundle exec middleman build
copy

Deploy the Middleman project in the current directory
$ middleman deploy
copy

SYNOPSIS

middleman [options] --listen addr:port --forward target_addr:target_port

PARAMETERS

--listen
    Specifies the local address and port where middleman will listen for incoming connections.

--forward
    Specifies the destination address and port to which intercepted traffic will be forwarded.

--protocol
    Defines the network protocol to handle. Common values could be tcp (default) or udp.

--log
    Enables logging of all intercepted data to the specified file.

--modify