-
DEBUG(default=False) -
DATABASE_URL(default=sqlite:///{}'.format(os.path.join(BASE_DIR, 'db.sqlite3')) -
STATIC_S3_ENABLED(default=False)- Allow static content to be served from AWS S3
-
SITE_USES_SSL(default=False)- Set to True in production if using SSL
-
Example
.envfile might look like thisDEBUG=True
These steps will install all required dependencies including development ones, run migrations and start dev server.
make dev
make migrate
make runmake testThese steps will install production dependencies and build vue.js application to static/dist folder.
make prod
make buildAfter deployment step you can choose zappa to deploy app to AWS Lambda.
zappa deploy <project-name>
If using zappa fill in AWS S3 Bucket name in zappa_settings.json