Skip to content

minifast/minifast

Repository files navigation

Ministry of Velocity

A website to celebrate our glorious cooperative.

Installation

Install all worthy dependencies with bundler:

$ bundle install

Copy the sample environment file into place:

$ cp .env.example .env

Then start Middleman for great victories in development:

$ bundle exec middleman server

Deployment

To spread our message across the globe, you must create a useful CloudFormation stack using the site.json template. The stack generates some useful outputs.

Then, acquire IAM credentials with Put* access for the S3 bucket created by that stack, as well as CreateInvalidation access for CloudFormation.

Create a .env file locally with these entries:

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
BUCKET_NAME=
BUCKET_REGION=
CLOUDFRONT_DISTRIBUTION_ID=

Then, follow these important steps:

    $ bundle exec middleman build
    $ bundle exec middleman sync
    $ bundle exec middleman invalidate

After 10 minutes, our adoring public will receive the latest updates.

Contributing

  1. Hang out at Ministry of Velocity LLC
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Our homepage on the internet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors