Skip to content

Instantly share code, notes, and snippets.

View tr00st's full-sized avatar

James Cheese tr00st

View GitHub Profile
@tr00st
tr00st / LICENSE
Created June 22, 2015 14:02
GeoDjango Setup - Ubuntu 12.04/14.04
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:
@tr00st
tr00st / README.md
Created April 28, 2015 10:02
Nginx + Django + Gunicorn + Python 3.4 Configs

What?

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

Why?

Because I'm sick and tired of writing this config over and over :)

@tr00st
tr00st / switch_to_python3.4.sh
Last active May 19, 2022 14:40
DO NOT USE: OUT OF DATE & UNMAINTAINED - Python 3 upgrade script for the Django image on DigitalOcean
#!/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.