First of all, you must have the virtual env intalled in your machine. Installing virtualenv
Run the steps bellow:
virtualenv -p $(which python3.6) venv
source venv/bin/activate
pip install -r requirements.txt
pip install -r requirements-dev.txt
Attention: This section is dedicated to create the project from default boilerplate.
- Change in all project the variable TEMPLATE-CHANGE for the project name;
- Change the URL from the origin remote to the new repository created by cloudformation
git remote set-url origin ssh://[SA-EAST-1-ALIAS]/v1/repos/[TEMPLATE-CHANGE]
- Create the cloudformation infraestructure executing the script below:
./setup-cloudformation.sh
$ chalice local --port=8084 --stage dev
Having problem to run? Try:
$ pip2 uninstall chalice