Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Gunicorn/Nginx #73

Merged
merged 7 commits into from
Nov 13, 2014
Merged

Commits on Nov 13, 2014

  1. Add support for Gunicorn/Nginx

    This changeset makes Gunicorn the application server for Django across
    environments. In addition, Upstart handles launching the Gunicorn worker
    pool and Nginx reverse proxies requests to it.
    
    It is also important to note that when the application is provisioned in
    the development and test environments, the Gunicorn `--reload` flag is
    used. This provides automatic Gunicorn worker reloads when code changes
    occur. I tested application reloading by making source code changes via
    the Vagrant shared folder and worker PIDs changed as expected.
    
    For more discussion, see: #71
    Hector Castro authored and Steve Lamb committed Nov 13, 2014
    Configuration menu
    Copy the full SHA
    b72b594 View commit details
    Browse the repository at this point in the history
  2. Enabling debugging support in development

    In addition, I set `timeout` to 30 minutes and lowered it to 60 in the
    `else` because the ELB terminates requests at 60 seconds anyway.
    Hector Castro authored and Steve Lamb committed Nov 13, 2014
    Configuration menu
    Copy the full SHA
    a73544b View commit details
    Browse the repository at this point in the history
  3. Remove references to runserver

    Hector Castro authored and Steve Lamb committed Nov 13, 2014
    Configuration menu
    Copy the full SHA
    de1b424 View commit details
    Browse the repository at this point in the history
  4. Move gunicorn configuration to config file

    This will make it easier to use the same config in multiple places
    Steve Lamb committed Nov 13, 2014
    Configuration menu
    Copy the full SHA
    a89461d View commit details
    Browse the repository at this point in the history
  5. Add proof of concept script for gunicorn debugging

    Steve Lamb committed Nov 13, 2014
    Configuration menu
    Copy the full SHA
    61bcd99 View commit details
    Browse the repository at this point in the history
  6. static -> collected_static (for now)

    hectcastro authored and Steve Lamb committed Nov 13, 2014
    Configuration menu
    Copy the full SHA
    2521a5e View commit details
    Browse the repository at this point in the history
  7. Move scripts to folder

    Steve Lamb committed Nov 13, 2014
    Configuration menu
    Copy the full SHA
    807a238 View commit details
    Browse the repository at this point in the history