1.0.91 • Published 5 years ago

ecg-sam-create v1.0.91

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

ecg-sam-create

This project is a CLI tool used to generate SAM templates using Electronic Caregiver's serverless standard.

Installation

Prerequisites

Instructions

  • Make sure you have NPM installed. If not, make sure you have Node.js and it's up to date, NPM comes bundled with Node.js. To check if NPM is installed, run this command:

    npm -v

  • Install ecg-sam-create globally. This will allow you to run the CLI command from any directory. Do not install locally.

    npm i -g ecg-sam-create

  • You now have the ecg-sam-create tool installed globally in your environment.

How to use

  • Navigate to the directory you want your project folder to live and run:

    ecg-sam-create -n project-name-here // note: project name must be hyphen-case

  • A folder with your project name should now be generated in the current directory.
  • cd into that folder, and you should see a folder that also has the same name as your project name. cd into that folder also.
  • You should now be in your-project-name/your-project-name. From here, run npm install, this will install all your dependencies.
  • Run npm start to spin up the Docker container and run your Lambda code locally.
  • You can also run npm test here to run your Jest test suite.

Contributors

  • Michael Lyon - mlyon@ecg-hq.com
  • Dustin Charles - dcharles@ecg-hq.com
1.0.91

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.16

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago