mirror of
https://github.com/nikdoof/pacmanager.git
synced 2026-01-30 17:58:23 +00:00
Initial prep for deployment on Heroku
This commit is contained in:
@@ -10,16 +10,8 @@ ADMINS = (
|
|||||||
|
|
||||||
MANAGERS = ADMINS
|
MANAGERS = ADMINS
|
||||||
|
|
||||||
DATABASES = {
|
import dj_database_url
|
||||||
'default': {
|
DATABASES = {'default': dj_database_url.config(default='postgres://localhost')}
|
||||||
'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.
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Local time zone for this installation. Choices can be found here:
|
# Local time zone for this installation. Choices can be found here:
|
||||||
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
|
# 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+https://github.com/nikdoof/eveapi.git#egg=eveapi
|
||||||
-e git://github.com/nikdoof/django-braces.git#egg=django-braces
|
-e git://github.com/nikdoof/django-braces.git#egg=django-braces
|
||||||
-e git+https://github.com/disqus/django-modeldict.git#egg=modeldict
|
-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