DiUS / pact-website

0 stars 2 forks source link

Pact Saas Website

NOTE #1: Because Matt is silly and didn't realise, he accidentally registered the domains in the dev Pact account and therefore ALL deployments for all environments are in dev - TODO

NOTE #2: Because Cloudfront + ACM only work together in us-east-1, the website is deployed into that region

Environments

Development team

Install dependencies

You'll need grunt, bundle and docker installed.

$ npm install
$ bundle install
$ ./shell/bundle.sh
$ ./shell/build.sh

Build (and run) locally

$ bundle exec grunt

In your browser, go to localhost:4000

Build for production(-like) environment

$ bundle
$ JEKYLL_ENV=production bundle exec jekyll build

Deploying

Website deployments

ENVIRONMENT=dev ./shell/deploy.sh

Infrastructure deployments

cd aws
ENVIRONMENT=dev deploy.sh`

Deploying - old

Cheatsheets

Markdown help

Testing Chargebee