Initial prep for deployment on Heroku

This commit is contained in:
2012-06-09 00:14:45 +01:00
parent 6aa1109eea
commit 3cb8489c89
2 changed files with 4 additions and 10 deletions

View File

@@ -10,16 +10,8 @@ ADMINS = (
MANAGERS = ADMINS
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'pacmanager.db', # Or path to database file if using sqlite3.
'USER': '', # Not used with sqlite3.
'PASSWORD': '', # Not used with sqlite3.
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
'PORT': '', # Set to empty string for default. Not used with sqlite3.
}
}
import dj_database_url
DATABASES = {'default': dj_database_url.config(default='postgres://localhost')}
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name

View File

@@ -3,3 +3,5 @@ South==0.7.4
-e git+https://github.com/nikdoof/eveapi.git#egg=eveapi
-e git://github.com/nikdoof/django-braces.git#egg=django-braces
-e git+https://github.com/disqus/django-modeldict.git#egg=modeldict
psycopg2==2.4.5
dj-database-url==0.2.0