An open API service indexing awesome lists of open source software.

https://github.com/varvet/generator-middleman-dato

A Yeoman generator for Middleman and DatoCMS projects
https://github.com/varvet/generator-middleman-dato

Last synced: about 2 months ago
JSON representation

A Yeoman generator for Middleman and DatoCMS projects

Awesome Lists containing this project

README

          

# Generator Middleman Dato
This is a Yeoman generator for starting up a Middleman and Dato project.

## Installation
1 - Install Yeoman `npm install -g yo`

2 - Clone this repo

3 - Run `cd generator-middleman-dato`

4 - Run `npm install`

5 - Run `npm link`



Now the middleman-dato generator is installed globally on your machine. You can use it anywhere you would like.

### How to use it
1 - Create a new folder for you project like `mkdir project`

2 - Run `cd project`

3 - Run `yo middleman-dato`

4 - Follow the instructions

5 - Run project by `middleman serve`

#### Create a new module
This script will create a `.html.erb` file and a `.css.scss` file for your new module.

`middleman-dato g m 'module-name'`