Skip to content

shocknawe/aragonjairus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aragonjairus.com

This project is to launch a React site to AWS CloudFormation with CI/CD, using the Serverless Framework

#How to launch


1. Install AWS CLI, and configure with Access Key

1.a Install CLI v2

1.b Generate AWS Access Key

1.c Configure CLI


2. Create a Github Repo with your site and a Personal Access Token with the following scope

  • repo Full control of private repositories
  • admin:repo_hook Full control of repository hooks

3. Get domain and SSL Certificate from Amazon

3.a Register domain on Route53

3.b Get SSL Certificate for that domain


4. Create a config file

for example:

config.dev.json

{
  "CloudFrontAlias": "aragonjairus.com",
  "CloudFrontAcmCertificateArn": "arn:aws:acm:us-east-1:888888888888:certificate/88888888-8888-8888-8888-888888888888",
  "GithubOwner": "shocknawe",
  "GithubRepo": "aragonjairus-frontend",
  "GithubOAuthToken": "ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}

5. run the command npm run deploy

About

Serverless CI/CD for personal site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published