Archived
1
0

update settings and add readme

This commit is contained in:
Jeff Becker 2016-11-07 07:50:10 -05:00
parent c3224379ca
commit ecf8237c97
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
2 changed files with 18 additions and 4 deletions

View File

@ -77,10 +77,8 @@ WSGI_APPLICATION = 'nntpchan.wsgi.application'
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2', 'ENGINE': 'django.db.backends.postgresql_psycopg2',
'HOST': 'localhost', 'HOST': '/var/run/postgresql',
'PASSWORD': 'jeff', 'NAME': 'postgres',
'USER': 'jeff',
'NAME': 'jeff',
} }
} }

View File

@ -0,0 +1,16 @@
# ebin
django frontend for nntpchan
## setup
suggested setup is with pyvenv
for a dev server, run:
python3 -m venv v
v/bin/pip install -r requirements.txt
cd nntpchan
../v/bin/python manage.py migrate
../v/bin/pyrhon manage.py runserver