Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 816 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 816 Bytes

A Dash example deployed to AWS Lambda and API Gateway using Zappa

Example at https://dash.struce.com

Modify the zappa_settings.json so it points to your bucket

virtualenv -p ($which python3) env
source env/bin/activate
pip install -r requirements.txt
zappa deploy

Status: follow the progress on this issue: plotly/dash#22

Notes:

  1. dash.ly should not be installed otherwise the deploy will fail
  2. Without custom domain, you will need to do the following:
if __name__ == '__main__':
    app.run_server(debug=True)
else:
    app.config['requests_pathname_prefix'] = '/dev' + app.config['requests_pathname_prefix']