diff options
author | Jayaram R Pai | 2014-09-11 19:37:30 +0530 |
---|---|---|
committer | Jayaram R Pai | 2014-09-11 19:37:30 +0530 |
commit | 70a500a571afa1e3c92a5669a03d81949774f4a1 (patch) | |
tree | ed58f50b97e89127eeda7214719239d51a6fc107 | |
parent | 42d33afb38135d85387a97fa4fc440720cc1e00f (diff) | |
parent | 364922e3daa2f4a65f98091a3b97fe6c0063ad66 (diff) | |
download | scipy2014-70a500a571afa1e3c92a5669a03d81949774f4a1.tar.gz scipy2014-70a500a571afa1e3c92a5669a03d81949774f4a1.tar.bz2 scipy2014-70a500a571afa1e3c92a5669a03d81949774f4a1.zip |
Merge pull request #1 from FOSSEE/ease-new-dev
Make it easier for new contributors to get started.
-rw-r--r-- | README.md | 11 | ||||
-rwxr-xr-x[-rw-r--r--] | manage.py | 0 | ||||
-rw-r--r-- | scipy/sample-config.py | 5 | ||||
-rw-r--r-- | scipy/settings.py | 2 |
4 files changed, 17 insertions, 1 deletions
@@ -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 index 054487a..054487a 100644..100755 --- a/manage.py +++ b/manage.py 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 |