Skip to content

Commit 45b0d81

Browse files
committed
added readme
1 parent 9ee25c7 commit 45b0d81

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 Akira Sosa
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

README.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# micropost-functions
2+
3+
This project manages lambda functions by using [Serverless](https://serverless.com/).
4+
5+
## Getting Started
6+
7+
Configure.
8+
9+
```
10+
cp .envrc.example .envrc
11+
vi .envrc
12+
direnv allow
13+
```
14+
15+
Install dependencies.
16+
17+
```
18+
npm install -g yarn serverless
19+
yarn install
20+
```
21+
22+
Deploy.
23+
24+
```
25+
sls deploy -v
26+
```
27+
28+
Run functions.
29+
30+
```
31+
sls invoke -f notifyToSlack -l
32+
```
33+
34+
## Related Projects
35+
36+
* [Angular2 app](https://github.com/springboot-angular2-tutorial/angular2-app)
37+
* [Android app](https://github.com/springboot-angular2-tutorial/android-app)
38+
* [Server provisioning by Ansible and Packer](https://github.com/springboot-angular2-tutorial/micropost-provisionings)
39+
* [Infrastructure by Terraform](https://github.com/springboot-angular2-tutorial/micropost-formation)
40+
41+
## License
42+
43+
[MIT](/LICENSE)

0 commit comments

Comments
 (0)