Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.3 KB

01-dev-setup.md

File metadata and controls

32 lines (23 loc) · 1.3 KB

DEV Setup

Requirements

Ensure you have the following installed:

  • awscli
  • Java (version specified in .tool-versions)
  • nginx
  • node (version specified in .nvmrc)
  • npm
  • yarn
  • nvm
  • dev-nginx

You'll also need Janus credentials to the media-service account.

Local setup

We use a shared DEV stack, with a shared config. Fetch it by running:

sudo ./scripts/fetch-dev-config.sh

There is a chance that the IAM key used for local development (media-atom-maker-DEV) has been disabled if it has not been rotated in a while. If this is the case, and you need the key, you will need to rotate the IAM key. To do this, increment the Serial property in the CloudFormation template, and update the stack with the new template. This will generate the new IAM key (found in the CloudFormation Outputs tab, under AwsId and AwsSecret), which you should update in the dev config file in S3 (under the settings upload.accessKey and upload.secretKey).

(Don't forget to create a PR containing the new Serial property!)

Next, setup nginx and install client side requirements by running:

./scripts/setup.sh