Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/GabrielTavares99/aws-chalice-boilerplate
This is the best aws Chalice boilerplate in all world. Being the result of many hours coding professionally for many different projects.
https://github.com/GabrielTavares99/aws-chalice-boilerplate
aws chalice lambda-functions python serverless
Last synced: about 19 hours ago
JSON representation
This is the best aws Chalice boilerplate in all world. Being the result of many hours coding professionally for many different projects.
- Host: GitHub
- URL: https://github.com/GabrielTavares99/aws-chalice-boilerplate
- Owner: GabrielTavares99
- Created: 2020-09-20T01:12:43.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-06T01:21:27.000Z (about 4 years ago)
- Last Synced: 2024-08-02T07:02:10.608Z (3 months ago)
- Topics: aws, chalice, lambda-functions, python, serverless
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### 1. Setup dev environment
First of all, you must have the virtual env intalled in your machine.
[Installing virtualenv](https://virtualenv.pypa.io/en/stable/installation/ "Installing virtualenv")Run the steps bellow:
```bash
virtualenv -p $(which python3.6) venv
source venv/bin/activate
pip install -r requirements.txt
pip install -r requirements-dev.txt
```------------
### 2. Initial project setup
**Attention:** This section is dedicated to create the project from default boilerplate.1. Change in all project the variable ***TEMPLATE-CHANGE*** for the ***project name***;
2. Change the URL from the origin remote to the new repository created by cloudformation
```bash
git remote set-url origin ssh://[SA-EAST-1-ALIAS]/v1/repos/[TEMPLATE-CHANGE]
```
3. Create the cloudformation infraestructure executing the script below:
```bash
./setup-cloudformation.sh
```------------
### Running locally
````
$ chalice local --port=8084 --stage dev
````
**Having problem to run?**
Try:
````
$ pip2 uninstall chalice
````------------