From 364922e3daa2f4a65f98091a3b97fe6c0063ad66 Mon Sep 17 00:00:00 2001 From: Puneeth Chaganti Date: Thu, 11 Sep 2014 08:36:11 -0400 Subject: Make it easier for new contributors to get started. --- README.md | 11 +++++++++++ manage.py | 0 scipy/sample-config.py | 5 +++++ scipy/settings.py | 2 +- 4 files changed, 17 insertions(+), 1 deletion(-) mode change 100644 => 100755 manage.py create mode 100644 scipy/sample-config.py diff --git a/README.md b/README.md index d6fac9b..839f9aa 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,14 @@ scipy2014 ========= Website for SciPy India 2014 + + +## Setup dev environment + +1. Use the requirements.txt file to install all the dependencies. + +2. Copy the `sample-config.py` file to `config.py` and edit your config. + + ``` + cp scipy/sample-config.py scipy/config.py + ``` diff --git a/manage.py b/manage.py old mode 100644 new mode 100755 diff --git a/scipy/sample-config.py b/scipy/sample-config.py new file mode 100644 index 0000000..6d7d980 --- /dev/null +++ b/scipy/sample-config.py @@ -0,0 +1,5 @@ +DB_ENGINE = 'django.db.backends.sqlite3' +DB_NAME = 'scipy.db' +DB_USER = '' +DB_PASS = '' +SECRET_KEY = 'Use your secret key here' diff --git a/scipy/settings.py b/scipy/settings.py index 353fa4f..63588fb 100644 --- a/scipy/settings.py +++ b/scipy/settings.py @@ -56,7 +56,7 @@ WSGI_APPLICATION = 'scipy.wsgi.application' DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.mysql', + 'ENGINE': DB_ENGINE, 'NAME': DB_NAME, 'USER': DB_USER, 'PASSWORD': DB_PASS -- cgit