Skip to content

TwoRavens/prototype

Repository files navigation

Install

  1. AWS SAM: instructions here
    • skip creating an AWS account and configuring IAM (steps 1 & 2)
    • docker install is required (step 3)

Develop

See also troubleshooting.md.

  1. Lambda

    cd lambda && sam local start-lambda
  2. Mongo and Node.js

    docker-compose up

    Or start them separately:

    mongod --dbpath=./data/db
    cd server && npm start

Test

Run jest in the client or server folder.

Deploy

  1. Lambda
    cd lambda
    sam build --use-container
    sam deploy --guided