Skip to content

Instantly share code, notes, and snippets.

@juliendargelos
Last active August 13, 2018 15:34
Show Gist options
  • Save juliendargelos/c175a6df29ea9f41a9e902dd765960bb to your computer and use it in GitHub Desktop.
Save juliendargelos/c175a6df29ea9f41a9e902dd765960bb to your computer and use it in GitHub Desktop.
README.md template for Middleman projects

Project

project.com

Install

Clone the repository

git clone [email protected]:juliendargelos/project.git
cd project

Check your Ruby version

ruby -v

The ouput should start with something like ruby 2.5.1

If not, install the right ruby version using rbenv (it could take a while):

rbenv install 2.5.1

Install dependencies

Using Bundler and Yarn:

bundle && yarn

Serve

middleman

Build

middleman build

Deploy

middleman deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment