mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-08 09:57:29 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
29
tldr/middleman
Normal file
29
tldr/middleman
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user