https://github.com/stwind/forest
A slack app built with AWS SAM
https://github.com/stwind/forest
Last synced: 8 months ago
JSON representation
A slack app built with AWS SAM
- Host: GitHub
- URL: https://github.com/stwind/forest
- Owner: stwind
- Created: 2019-02-12T07:01:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T01:36:16.000Z (over 3 years ago)
- Last Synced: 2025-04-08T09:41:01.229Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Forest
A slack app built with AWS [SAM](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html)
## Requirements
* [pyenv](https://github.com/pyenv/pyenv)
* [aws-cli](https://github.com/aws/aws-cli)
* [aws-sam-cli](https://github.com/awslabs/aws-sam-cli)
## Building and deployment
```sh
$ pyenv install 3.7.2
$ pyenv virtualenv 3.7.2 forest
$ pyenv activate forest
$ pip install --upgrade pip pip-tools pipdeptree fabric
```
### Making Release
To build a python wheel package and generate `requirements.txt` for later usage
```sh
$ fab freeze
```
### Building SAM package
To build a AWS SAM package
```sh
$ fab build
```
### Deploying to AWS
```sh
$ fab deploy
```
## Testing
```sh
$ python setup.py test
```