-
Create a PostgreSQL 9.3 database
-
Create a file named
local_settings.py
inside thepssi
directory. The file content looks like this -DEBUG=True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'LOCAL_DBNAME', 'USER': 'USERNAME', 'PASSWORD': 'PASSWORD', 'HOST': '', 'PORT': '' } } EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
-
Run
python manage.py syncdb
and create a superuser when prompted -
Run
python manage.py migrate
to apply pending migrations -
Run
python manage.py runserver
- Go to
/admin/
> Sites and change the default site's(the one with ID = 1) name and display tolocalhost:8000
or whatever you use to develop locally. - Go to
Social Applications
in admin panel and add Github and Google's auth details
- Add
MEMBERSHIP_PAYMENT_LINK
inlocal_settings.py
for testing Rs 0 payemnt. Url ishttps://www.instamojo.com/pssi/test-pssi-membership/
.