1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 01:02:07 +02:00
tldr/pages/common/middleman.md
2020-04-10 13:04:45 +01:00

24 lines
530 B
Markdown

# middleman
> Static site generator written in Ruby.
> More information: <https://middlemanapp.com/>.
- Create a new Middleman project:
`middleman init "{{project_name}}"`
- Start local server for current project on port 4567:
`middleman server`
- Start local server for current project on a specified port:
`middleman server -p "{{port}}"`
- Build the project in the current directory to prepare for deployment:
`bundle exec middleman build`
- Deploy the Middleman project in the current directory:
`middleman deploy`