GithubHelp home page GithubHelp logo

eb-py-flask-signup's Introduction

eb-py-flask-signup

This Python sample application uses the Flask framework and Bootstrap to build a simple, scalable customer signup form that is deployed to AWS Elastic Beanstalk. The application stores data in Amazon DynamoDB and publishes notifications to the Amazon Simple Notification Service (SNS) when a customer fills out the form.

Instructional Videos

This app includes a quick 3-part video series on YouTube that will walk you through deploying, using, and customizing the application in 10 minutes or less.

  1. Part 1: http://youtu.be/rsg4YI4mljg
  2. Part 2: http://youtu.be/IuwfVX52PV8
  3. Part 3: http://youtu.be/DrRr-JgdgzE

Features

Themes

The code includes several Bootstrap themes from bootswatch.com. You can dynamically change the active theme by setting the THEME environment variable in the Elastic Beanstalk Management Console:

Installed themes include:

Flask Debugging

Similar to themes, you can control Flask debugging by toggling the FLASK_DEBUG env var from the Elastic Beanstalk Management Console.

eb-py-flask-signup's People

Contributors

abhiksingh avatar aws-tools avatar cliuamzn avatar dependabot[bot] avatar evandbrown avatar haotianw465 avatar sekhar-kutikuppala avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eb-py-flask-signup's Issues

release `eb-py-flask-signup-1.1.0.zip` fails to deploy

The error I get is:

 2014-11-05 13:18:43 UTC-0500   ERROR   Your WSGIPath refers to a file that does not exist.

Any suggestions about what I should update to make it work? From the Config pane I see WSGIPath: application.py (which is not set anywhere in the .zip file, so I assume it's a system-wide default).

Looking at the logs, I see the contents of the .zip ultimately end up in /opt/python/current/app/ right?

 [:error]Target WSGI script not found or unable to stat: /opt/python/current/app/application.py

From this I'm guessing this setting in .ebextensions/setup.config is not right:

   "aws:elasticbeanstalk:application:environment":
      "APP_CONFIG": "/var/app/app.config"

In general, I think it might be a good idea to generate a new release .zip file for people to play with. EB seems like awesome technology!

Your requirements.txt is invalid. Snapshot your logs for details.

[Instance: i-0678efc54eef84544] Command failed on instance. Return code: 1 Output: (TRUNCATED)...) File "/usr/lib64/python2.7/subprocess.py", line 540, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command '/opt/python/run/venv/bin/pip install -r /opt/python/ondeck/app/requirements.txt' returned non-zero exit status 1. Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/03deploy.py failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.

Help needed, I'm new to Github and AWS :(

static files

How would you configure the nginx proxy to serve static files in Docker container type where you don't have the aws:elasticbeanstalk:container:python:staticfiles?

Missing `VOLUME`? - docker branch

On the docker branch's readme - also in the actual file in the project - the Dockerun.aws.json declares a volume to be mounted:

   "Volumes": [
     {
       "ContainerDirectory": "/var/app",
       "HostDirectory": "/var/app"
     }
   ],

However I failed to find a VOLUME ["/var/app"] line in the Dockerfile, that would allow the above mount to happen.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.