Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
DevOps Consulting

Dominick Rivard drivard

💭
DevOps Consulting
  • JD Labs, EnlightNS
View GitHub Profile
@drivard
drivard / install_duc_mac.sh
Last active Mar 13, 2021
how to install duc on mac using brew
View install_duc_mac.sh
# /bin/bash
#
## Install duc from http://duc.zevv.nl/
## Adapted from https://gist.github.com/turtlemonvh/09a79a810d485f18af19
## Find the latest release here https://github.com/zevv/duc/releases
DUC_VERSION=1.4.3
if ! which brew ; then
echo "ERROR: brew is required"
@drivard
drivard / wsgi.py
Created Aug 21, 2012
WSGI for myproject on my blog drivard.com see configuring nginx with uWSGI
View wsgi.py
"""
WSGI config for myproject project.
This module contains the WSGI application used by Django's development server
and any production WSGI deployments. It should expose a module-level variable
named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover
this application via the ``WSGI_APPLICATION`` setting.
Usually you will have the standard Django WSGI application here, but it also
might make sense to replace the whole Django WSGI application with a custom one
@drivard
drivard / settings.py
Created Aug 21, 2012
Django basic settings.py with sqlite3 database
View settings.py
# Django settings for myproject project.
DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = (
# ('Your Name', 'your_email@example.com'),
)
MANAGERS = ADMINS