Satic website for has.concord.org
This repository is the home for has.concord.org. Follow these directions to develop and deploy this website.
Requirements
- The s3_website gem:
gem install s3_website
Developing
These are simplified instructions for now. Actual workflow TBD
- Edit files inside
_site
- Run a local webserver to preview changes:
cd _site && python -c 'import SimpleHTTPServer; SimpleHTTPServer.test()'
- Make sure your changes look good.
- Add your changes:
git add .
- Commit your changes:
git commit -m 'updated website'
- Push your changes
git push origin master
Deploying
-
Make sure you have the s3_website gem installed.
gem install s3_website
-
Export your AWS credentials:
export S3_ID=xxxx export S3_SECRET=xxxxx
-
Push the changes to the bucket:
s3_website push
Changing configuration
If you need to make changes to this website, you can read the instructions for the s3_website gem and tools, and then:
- Edit the file
s3_website.yml
- run
s3_website cfg apply
to push your config changes up. - run
s3_website push
to be sure things are working.