July 2018
Intermediate to advanced
324 pages
8h 14m
English
Once you have configured Zappa, you can initialize Zappa for your project. You need to run the zappa init command and follow the CLI questionnaire to configure your project with Zappa. I followed the default configuration settings suggested by Zappa. The zappa init command will generate the zappa_settings.json file, and we are free to modify this file as per our needs.
The following is a code snippet of the zappa_settings.json file.
File—zappa_settings.json:
{ "dev": { "app_function": "run.app", "aws_region": "ap-south-1", "profile_name": "default", "project_name": "chapter-4", "runtime": "python3.6", "s3_bucket": "zappa-5xvirta98" }}
Zappa maintains this JSON file in order to perform the deployment process. Now, we will ...
Read now
Unlock full access