mirror of
https://github.com/nikdoof/pacmanager.git
synced 2025-12-13 07:32:15 +00:00
Initial prep for deployment on Heroku
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user