Skip to content

Instantly share code, notes, and snippets.

@shamrin
Created May 26, 2016
Embed
What would you like to do?
$ git clone https://github.com/jdubray/sam-safe
$ npm install
npm WARN Invalid name: "sam-safe middleware with blog sample harness"
…
$ # Edit package.json, changing the name field to "sam-safe" in package.json (my npm doesn't like spaces)
$ npm install
$ npm start
> sam-safe@1.0.0 start /Users/user/src/sam-safe
> node server-model.js

{ init: [Function],
  present: [Function],
  edit: [Function],
  save: [Function],
  delete: [Function],
  cancel: [Function],
  intents: { edit: 'edit', save: 'save', delete: 'delete', cancel: 'cancel' } }
[INFO]     : 1464275768965 : new step        :{"stepid":0,"actions":[]}
registering app on port: 5425
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment