Skip to content

UserNotFound/www.aptible.com

 
 

Repository files navigation

Build Status

Aptible's public web site: marketing, blog, support, and documentation. Built with Middleman.

Running Locally

Clone the repo:

git clone https://github.com/aptible/www.aptible.com.git
cd www.aptible.com/

Install necessary dependencies:

bundle install

Start the server. You can access it at http://localhost:4567/

bundle exec middleman server

Deploying

First, some prerequisites:

  • AWS CLI, installed locally
  • A valid AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY in your environment

In production and staging, the support site is deployed as an S3 website (fronted by CloudFront).

To manually deploy to production, using Omnivault:

eval $(aws-creds env default) && bundle exec rake deploy:production

Staging:

eval $(aws-creds env default) && bundle exec rake deploy:staging

An arbitrary S3 bucket:

eval $(aws-creds env default) && bundle exec rake deploy[bucket]

Continuous Deployment

Travis CI deploys to both staging and production on every successful merge to master. This requires the encrypted AWS credentials for an authorized user to be stored in the .travis.yml configuration file.

To update these credentials at any time, run:

travis encrypt -r aptible/support --add env AWS_ACCESS_KEY_ID=... AWS_SECRET_ACCESS_KEY=...

Contributing

If you run into an issue that needs documentation, feel free to submit a pull request or open an issue. We send t-shirts and swag to contributors.

Copyright

Copyright (c) 2017 Aptible. All rights reserved.

@gib

About

Aptible marketing website

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 59.3%
  • CSS 31.1%
  • Ruby 7.8%
  • CoffeeScript 1.7%
  • Other 0.1%