Skip to content

lindstein/abcdefghijklmnopqrstuvwxyzaao

Repository files navigation

This is the boilerplate for Kollegornas Middleman projects. We're currently using Middleman 4.

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

S3 Bucket

http://abcdefghijklmnopqrstuvwxyzaao.com.s3-website-eu-west-1.amazonaws.com

Gulp commands

The following gulp commands are at your service…

$ gulp install

Runs bundle install and bower install

$ gulp middleman

Runs bundle exec middleman

$ gulp serve

Builds Middleman and create a BrowserSync server that watches all changes

$ gulp build

Builds Middleman

$ gulp deploy

Builds Middleman and deploys with rsync

$ gulp s3

Builds Middleman and deploys to s3 bucket

Configuration

Deployment

If you're planning to use rsync for deployment then you have to change the configuration:

gulpfile.js

By default it's configured to deploy to one of our VPS's.

Deploy to Amazon S3

You need to set the following environment variables. We recommend that you use direnv.

AWS_KEY
AWS_SECRET
AWS_BUCKET
AWS_REGION

About

Company website for ABCDEFGHIJKLMNOPQRSTUVWXYZÅÄÖ

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published