Commit d4a45df6 authored by Patrick Kimber's avatar Patrick Kimber

rename 'example' to 'example_base'

parent 238f76fb
source venv-base/bin/activate
export DJANGO_SETTINGS_MODULE=example.dev_patrick
#find the virtual environment in the current directory
VE=`ls -d venv-* 2>/dev/null`
if [ `echo "$VE" | wc -w` -eq 1 ]
then
if [ "$VE_VERBOSE" = "TRUE" ]
then
echo "************************************************************************"
echo "*** Activating $VE virtual environment "
echo "************************************************************************"
fi
# activate virtual environment
source $VE/bin/activate
# Set environment variables for this VE
export DEFAULT_FROM_EMAIL="web@pkimber.net"
export DJANGO_SETTINGS_MODULE="example_${PWD##*/}.dev_`id -nu`"
export MAIL_TEMPLATE_TYPE="django"
export MAILGUN_SERVER_NAME="pkimber.net"
export RECAPTCHA_PRIVATE_KEY="your private key"
export RECAPTCHA_PRIVATE_KEY="your private key"
export RECAPTCHA_PUBLIC_KEY="your public key"
export RECAPTCHA_PUBLIC_KEY="your public key"
export SECRET_KEY="the_secret_key"
export STRIPE_PUBLISH_KEY="your_stripe_publish_key"
export STRIPE_SECRET_KEY="your_stripe_secret_key"
source .private
fi
......@@ -17,13 +17,13 @@ develop-eggs
.installed.cfg
lib
lib64
__pycache__
# Installer
# Installer logs
pip-log.txt
MANIFEST
# Unit test / coverage reports
.cache
.coverage
.tox
nosetests.xml
......@@ -37,3 +37,13 @@ venv-*
.mr.developer.cfg
.project
.pydevproject
# dev
.cache/
# private info
.private
# media
media/
media-private/
......@@ -41,4 +41,4 @@ Usage
Release
=======
https://django-dev-and-deploy-using-salt.readthedocs.org/
https://www.pkimber.net/open/
......@@ -122,6 +122,7 @@ LOCAL_APPS = (
'example_base',
'base',
'login',
'mail',
)
INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS
......
# -*- encoding: utf-8 -*-
from __future__ import unicode_literals
from .base import *
DATABASES = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment