Skip to content

ytadvisors/cdn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Default CDN transfer script

Script to transfer local files from the src/ director to the S3 bucket

Requirements

Installation

  • From the root of the project npm install

Start

  • From the root of the project npm start

Deploy

  • From the root of the project npm run deploy

ENVIRONMENT VARIABLES

  • Make sure the following environment variables are setup before the application runs. For a local testing, you can create an .env file in the root director with the values included.
DEPLOY_AWS_ACCESS_KEY_ID=<update with amazon key>
DEPLOY_AWS_SECRET_ACCESS_KEY=<update with amazon secret key>
DEPLOY_AWS_REGION=<update with amazon region>
CDN_BASE=<update with CloudFront cdn>
S3_BUCKET=<update with S3 bucket name>

About

Default CDN transfer script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published