0.2.0 • Published 6 years ago

scout-app-starter v0.2.0

Weekly downloads
1
License
ISC
Repository
-
Last release
6 years ago

Scout Starter App

Development

Install dependencies:

npm install

Start development server:

npm start

Create production build:

npm run build

Lint JavaScript files:

npm run lint

Run unit tests:

npm test

Run unit tests in watch mode (tests will re-run when on file changes):

npm run test:watch

Run end-to-end tests:

npm run e2e

Run storybook:

npm run storybook

Delete build artifacts and reinstall dependencies:

npm run clean

Deployment

AWS

Before auto-provisioning your infrastructure, you'll need to create an AWS account

IAM User

In AWS, create a user in IAM for programmatic access, and attach the following policies to the user:

  • AmazonS3FullAccess
  • CloudFrontFullAccess

Once you've created the IAM user, copy the access key ID and secret access key into the corresponding fields within config.js.

S3 Bucket

In config.js, choose a valid AWS region and S3 bucket name that you will use to store your app's static files. Do not manually create the S3 bucket. It will be created for you.

Cloudfront

The Cloudfront distribution for your app will automatically be created during provisioning. Once provisioning is complete, your distribution's URL will be logged to the terminal with additional instructions for configuring your CloudFlare DNS records.

CloudFlare

Before auto-provisioning your infrastructure, you'll also need to create a CloudFlare account.

Once you've created a CloudFlare account and configured your nameservers for your domain, you'll need to add your account email, zone ID, and API key to config.js.


Provision AWS infrastructure:

npm run provision

Deploy to AWS:

npm run deploy
0.2.0

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago