Skip to content

Instantly share code, notes, and snippets.

@jonvuri
Created August 11, 2013 17:47
Show Gist options
  • Save jonvuri/6206106 to your computer and use it in GitHub Desktop.
Save jonvuri/6206106 to your computer and use it in GitHub Desktop.
Notes
sudo pip install django
sudo pip install south
sudo pip install -r reqs.txt
sudo patch -p1 -d /Library/Python/2.7/site-packages < conditional_aggregates.1.5.patch
git clone [email protected]:/home/public/git/donations
cd donations
git submodule init
rmdir paypal
git clone [email protected]:/home/public/git/paypal
git clone https://github.com/uraniumanchor/sda-donation-tracker-2.git tracker
cd ..
git clone https://github.com/uraniumanchor/django-ajax-selects.git
cd django-ajax-selects
git checkout mine
cp -R ajax_select ../donations
In settings.py :
* clear
ALLOWED_HOSTS = ['sda.sorrowind.net', 'gamesdonequick.com', 'private.gamesdonequick.com'];
* and change to
ALLOWED_HOSTS = ['127.0.0.1'];
Copy example_local.py to local.py
In local.py :
* change the DATABASES dict to
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'db/test_db',
}
};
* set SITE_PREFIX to
SITE_PREFIX = '/';
* set STATIC_ROOT to
STATIC_ROOT = "static"
* add this at the end:
HAS_GDOC = False;
# GDOC_USERNAME = '[email protected]'
# GDOC_PASSWORD = '12345678'
HAS_EMAIL = False;
# EMAIL_HOST = 'mail.somwhere.com'
# EMAIL_PORT = 465
# EMAIL_HOST_USER = '[email protected]';
# EMAIL_HOST_PASSWORD = '1234567878';
# EMAIL_FROM_USER = '[email protected]';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment