This is a minimal but effective set of configuration files and setup for running Django (targetted at 1.8) with Python 3.4, Gunicorn, Nginx
Because I'm sick and tired of writing this config over and over :)
The MIT License (MIT) | |
Copyright (c) 2015 James Cheese | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
#!/bin/bash | |
# | |
# Copyright 2015 James Cheese | |
# You may do anything with this work that copyright law would normally | |
# restrict, so long as you retain the above notice(s) and this license | |
# in all redistributed copies and derived works. There is no warranty. | |
# | |
# Python 3 Upgrade for Django Droplet | |
# Will update the "Django on 14.04" Digital Ocean image. | |
# Run as root. |