export AWS_PROFILE=ribose-open source ro-site.rc rake s3upload
Ensure you have reasonable Ruby version
bundlefrom within site directory to install Ruby dependencies
Serving the site
jekyll servefrom within site directory
The site is hosted on AWS using S3 behind CloudFront (CF).
Make sure you have AWS CLI tools installed.
Obtain from your operations contact an inventory .rc file relevant to the environment you’re deploying.
It would contain the variables such as S3_BUCKET, HOSTNAME, AWS_REGION, CF_DISTRIBUTION. Do not version that file in the repository!
We’ll assume that file is named ro-site.rc.
Add AWS profile to your ~/.aws/credentials. We’ll assume it’s called
Use the provided Rakefile to upload the site and reset CF cache if needed.
Run it like this:
Create your feature branch (
git checkout -b my-new-feature)
Commit your changes (
git commit -am 'Add some feature')
Push to the branch (
git push origin my-new-feature)
Create new Pull Request