1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/middleman.md

25 lines
530 B
Markdown
Raw Normal View History

2020-02-28 16:35:24 +03:00
# 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}}"`
2020-04-10 15:04:45 +03:00
- Build the project in the current directory to prepare for deployment:
2020-02-28 16:35:24 +03:00
`bundle exec middleman build`
2020-04-10 15:04:45 +03:00
- Deploy the Middleman project in the current directory:
2020-02-28 16:35:24 +03:00
`middleman deploy`