hackoregon / civic-devops

Master collection point for issues, procedures, and code to manage the HackOregon Civic platform
MIT License
11 stars 4 forks source link

Request: Hosting static site for education #231

Open danieldn opened 5 years ago

danieldn commented 5 years ago

Instructions: Replace text below with details corresponding to your story

Summary

https://docs.google.com/document/d/1d3T4VqD2Hy0A-XtGJUM-DTKj0V25nGVGLOfcQhwPp-I/edit

Impact

Tasks

Definition of Done

Team education successfully hosts their static site at the mentioned domain. Document how this fits into current build process (Travis).

VMannello commented 5 years ago

Some updates on this process:

New Tasks

VMannello commented 5 years ago

Gatsby Default Starter for Hack Oregon projects has been created at: https://github.com/hackoregon/gatsby-starter-default

When setting up travis for a static deployment the appropriate repository will need to have these variables: AWS_ACCESS_KEY_ID: Access key of IAM site deployer (should match what was used in CloudFormation) AWS_SECRET_ACCESS_KEY: Secret Key for user AWS_DEPLOY_BUCKET: Bucket name to deploy files to (can be found in CloudFormation output) SITE_HOSTNAME: Full site address (with protocol) bash escaped e.g. https:\/\/project.hackoregon.org