From 3c67d56b60ae9471de300e1e7342e9dc3090192a Mon Sep 17 00:00:00 2001 From: Hasan TEZCAN Date: Fri, 28 Feb 2020 16:35:24 +0300 Subject: [PATCH] middleman: add page (#3880) --- pages/common/middleman.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/middleman.md diff --git a/pages/common/middleman.md b/pages/common/middleman.md new file mode 100644 index 000000000..0863afc68 --- /dev/null +++ b/pages/common/middleman.md @@ -0,0 +1,28 @@ +# middleman + +> Static site generator written in Ruby. +> More information: . + +- Install the Middleman gem: + +`gem install middleman` + +- 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 your project to prepare to deploy: + +`bundle exec middleman build` + +- Deploy your Middleman project: + +`middleman deploy`