1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-06 00:06:00 +02:00
tldr/pages/common/middleman.md
Managor 8e09a08059
common*: refresh old pages part 3 (#16257)
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-04-25 21:19:03 +03:00

24 lines
545 B
Markdown

# middleman
> Static site generator written in Ruby.
> More information: <https://middlemanapp.com/basics/install/>.
- 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`