Skip to content

Commit 8383dc9

Browse files
author
jcjudkins
committed
setup environment
1 parent a7b619b commit 8383dc9

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ locale/*/LC_MESSAGES/django.mo
1616
djangoproject/cache
1717
djangoproject/static/css/*.map
1818
djangoproject/static/css/*.css
19+
.venv
20+
.venv/

README.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,16 @@ Install and run locally from a virtual environment
4949
to your ``~/.bashrc`` (or ``~/.zshrc`` if you're using zsh, ``~/.bash_profile`` if
5050
you're on macOS and using bash) file and then run ``source ~/.bashrc`` (or
5151
``source ~/.zshrc``, or ``source ~/.bash_profile``) to load the changes.
52-
52+
{
53+
"secret_key": "xyz",
54+
"superfeedr_creds": ["[email protected]", "some_string"],
55+
"db_host": "localhost",
56+
"db_password": "secret",
57+
"db_user": "djangoproject",
58+
"trac_db_host": "localhost",
59+
"trac_db_password": "secret",
60+
"trac_db_user": "code.djangoproject"
61+
}
5362
#. Create databases::
5463

5564
createuser -d djangoproject --superuser

djangoproject/settings/local.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# djangoproject/settings/local.py
2+
from .dev import * # Import all dev settings
3+
4+
5+
ALLOWED_HOSTS = ['127.0.0.1', 'localhost']
6+
7+
DATABASES = {
8+
'default': {
9+
'ENGINE': 'django.db.backends.postgresql',
10+
'NAME': 'djangoproject',
11+
'USER': 'djangoproject',
12+
'PASSWORD': 'Nath76a1',
13+
'HOST': 'localhost',
14+
'PORT': '5432',
15+
}
16+
}

0 commit comments

Comments
 (0)