update settings and add readme
This commit is contained in:
parent
c3224379ca
commit
ecf8237c97
@ -77,10 +77,8 @@ WSGI_APPLICATION = 'nntpchan.wsgi.application'
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
||||
'HOST': 'localhost',
|
||||
'PASSWORD': 'jeff',
|
||||
'USER': 'jeff',
|
||||
'NAME': 'jeff',
|
||||
'HOST': '/var/run/postgresql',
|
||||
'NAME': 'postgres',
|
||||
}
|
||||
}
|
||||
|
||||
|
16
contrib/frontends/django/readme.md
Normal file
16
contrib/frontends/django/readme.md
Normal 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
|
||||
|
Reference in New Issue
Block a user