Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

persand/helloper.com

Repository files navigation

This is the source of helloper.com. It's based on the Kollegorna Middleman Boilerplate.

Local setup

  1. Make sure you have the same Ruby version installed as the repo.
  2. Install Bundler and Node.js.
  3. Clone repository
  4. $ npm install && gulp install

Deployment

The master branch is automatically deployed to my 512 mb Vultr VPS using Codeship.

More info:
Automatically deploy Middleman with Codeship to a VPS

Gulp commands

$ gulp install

Runs bundle install, bower install and bower update.

$ gulp middleman

Runs bundle exec middleman.

$ gulp serve

Builds Middleman and create a BrowserSync server that watches all changes.

$ gulp build

Builds Middleman.

Writing posts

$ bundle exec middleman article NAME

Will generate a file in source/posts.