My personal site
CSS HTML Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
helpers
source
.bowerrc
.gitignore
.ruby-version
Gemfile
Gemfile.lock
LICENSE.txt
README.md
article.erb
bower.json
config.rb
gulpfile.js
package.json

README.md

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 Digital Ocean VPS using Codeship.

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.