Browse Source

update with correct deployment instructions..

main
John-Mark Gurney 3 years ago
parent
commit
2be2709809
1 changed files with 8 additions and 4 deletions
  1. +8
    -4
      README.md

+ 8
- 4
README.md View File

@@ -3,11 +3,15 @@ BaySec Website Source

Source to build the BaySec website.

This is now hosted on AWS CloudFront + S3. The move off github pages
was required due to the lack of SSL support for custom domains.

Instructions
============

1. Clone this repository: git clone git@github.com:baysec/baysec.git
2. Clone this repository a second time in a special directory: git clone git@github.com:baysec/baysec.git baysec.gh-pages
3. Switch the second one to the correct branch: (cd baysec.gh-pages && git checkout gh-pages)
4. Publish the site: (cd baysec && hyde gen && hyde publish)
5. Push the new site: (cd baysec.gh-pages && git push)
2. Change directory in the cloned repo: cd baysec
3. Make sure deploy directory is clean: rm -rf deploy
4. Generate new content: hyde gen
5. Make sure AWS keys are in environment: . ./.key.txt
6. Publish to S3: hyde publish

Loading…
Cancel
Save