Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Hosting static site for education #231

Open
2 of 4 tasks
danieldn opened this issue Apr 28, 2019 · 2 comments
Open
2 of 4 tasks

Request: Hosting static site for education #231

danieldn opened this issue Apr 28, 2019 · 2 comments
Assignees

Comments

@danieldn
Copy link

danieldn commented Apr 28, 2019

Instructions: Replace text below with details corresponding to your story

Summary

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

Impact

Tasks

  • Get Github and AWS access for Vinny
  • ID who needs on team education for AWS
  • Setup new S3 bucket with correct permissions
  • TODO

Definition of Done

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

@VMannello
Copy link

VMannello commented May 6, 2019

Some updates on this process:

New Tasks

  • Build basic gatsby project and configure travis file for static-site boilerplate
  • Acquire SSL Certificate, import to ACM and get its ARN
  • Use CloudFormation template to stand up bucket with connected cert
  • Test travis deploy

@VMannello
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants