Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laardee/sls-mocha-env-vars-test
https://github.com/laardee/sls-mocha-env-vars-test
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/laardee/sls-mocha-env-vars-test
- Owner: laardee
- License: mit
- Created: 2017-01-07T20:49:00.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-07T20:52:37.000Z (almost 8 years ago)
- Last Synced: 2024-06-11T23:12:30.049Z (5 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SC5 Serverless Boilerplate
sc5-serverless-boilerplate is a project template for new serverless services. Contents of the template:
* plugin [serverless-mocha-plugin](https://github.com/SC5/serverless-mocha-plugin): enable test driven development using mocha, creation of functions from command line
* plugin [serverless-offline] (https://github.com/dherault/serverless-offline): enable endpoint create from cli
* plugin [serverless-webpack] (https://github.com/elastic-coders/serverless-webpack): enable endpoint create from cli
* file `serverless.yml.json`: Register plugins above
* file `webpack.config.js`: Settings for webpack-plugin
* file `templates/function.ejs`: Template to use for new functions## Creating new project
With Serverless Framework v1.5 and later, a new project based on the project template is initialized with the command
```
> sls install -u https://github.com/SC5/sc5-serverless-boilerplate -n myservicename
> cd myservicename
> npm install
```and with Serverless Framework v1.2 - v1.4
```
> sls install -u https://github.com/SC5/sc5-serverless-boilerplate
> mv sc5-serverless-boilerplate myservicename
> cd myservicename
> perl -pi -e "s/sc5-serverless-boilerplate/myservicename/" serverless.yml package.json
> npm install
```## TODO
Please see project GitHub [issue tracker](https://github.com/SC5/sc5-serverless-boilerplate/issues).
## Release History
* 2016/11/02 - v1.0.0 - Initial version for Serverless 1.0
## License
Copyright (c) 2016 [SC5](http://sc5.io/), licensed for users and contributors under MIT license.
https://github.com/sc5/sc5-serverless-boilerplate/blob/master/LICENSE-MIT