This is a static site generator that pulls in content pages from the aptible-pages, aptible-blog and aptible-legal repos.
grunt setup
grunt setup
clones the aptible-pages, aptible-legal, and aptible-blog repos into the content
folder. You can add your own fork as a remote and submit PRs for those repos directly. Run grunt update
to pull the latest revisions of all dependent content repos.
grunt setup
, grunt server
, and the deploy tasks all ensure dependencies are
installed locally by running bundle install
, npm install
, and
bower install
.
Run grunt server
to see your changes on localhost.
The site is built with Assemble. Many of the files make use of Assemble's handlebars-helpers library.
This will release the site to an S3 bucket where it will be immediately accessible at www.aptible.com. The release
commands depend on the AWS command line tool, which should be set up according to Aptible's best practices.
grunt release:production
To release to our staging site (www.aptible-staging.com):
grunt release:staging
Note: these tasks also run bundle install
, npm install
, and bower install
to ensure all dependencies are included in deploys.
Copyright © 2015 Aptible