Based on https://github.com/joshukraine/middleman-gulp
- [Middleman 4.x][middleman-docs]
- [Ruby 2.x][rbenv]
- [Node 8.x][nvm]
- [Gulp CLI][gulp-cli]
-
Install ruby gems
bundle install
-
Install npm packages
npm install
-
Start the Middleman server. Note that this will also invoke Webpack via the external pipeline.
$ bundle exec middleman server
-
To build html and assets for production, run
$ bundle exec middleman build
-
Set proper
base_url
in config.rb