Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Command Prompt to README #266

Merged
merged 1 commit into from
May 9, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ Command line tool to locally run and deploy your node.js application to [Amazon
[![NPM version](https://badge.fury.io/js/node-lambda.svg)](http://badge.fury.io/js/node-lambda)

```
node-lambda run
$ node-lambda run
```

## Installation

```
npm install -g node-lambda
$ npm install -g node-lambda
```

## Example App
Expand All @@ -26,10 +26,10 @@ The [node-lambda-template](https://github.com/RebelMail/node-lambda-template) ex
There are 4 available commands.

```
node-lambda setup
node-lambda run
node-lambda package
node-lambda deploy
$ node-lambda setup
$ node-lambda run
$ node-lambda package
$ node-lambda deploy
```

### Commands
Expand All @@ -51,7 +51,7 @@ $ node-lambda setup --help
After running setup, it's a good idea to gitignore the generated `event.json` and `.env` files, as well as `.lambda`.

```
echo -e ".env\ndeploy.env\nevent.json\n.lambda" >> .gitignore
$ echo -e ".env\ndeploy.env\nevent.json\n.lambda" >> .gitignore
```

#### run
Expand Down Expand Up @@ -182,6 +182,6 @@ Perhaps the easiest way to handle these cases is to bundle the code using Webpac
## Running tests

```
npm install
npm test
$ npm install
$ npm test
```