https://github.com/cloudle/interactive-serverless-boilerplate
https://github.com/cloudle/interactive-serverless-boilerplate
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cloudle/interactive-serverless-boilerplate
- Owner: cloudle
- Created: 2017-11-01T21:19:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-28T06:03:15.000Z (over 8 years ago)
- Last Synced: 2025-04-10T09:16:45.911Z (about 1 year ago)
- Language: JavaScript
- Size: 47.9 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# INTERACTIVE SERVERLESS BOILERPLATE
### DEV Scripts:
- `npm run emulate` run serverless locally (with hot reload - localhost:3000)
- `npm run offline` run `serverless offline` (official serverless offline emulator)
### Bundle scripts:
- `npm run bundle`
- `npm run deploy`
### Jenkins:
- `cd serverless` move to serverless folder
- `npm install` install packages for `serverless`
- `cd ..` back to root folder, which can use npm script of the repo
- `npm run deploy` bundle serverless and deploy
### Chrome inspection
- `npm run emulate` actually allows us "inspect" our node.js application in Chrome Devtool - there
will be an green icon of Node.js in Chrome Debugger panel for us to inspect (of course, with hot code injection).