Skip to content

Latest commit

 

History

History
34 lines (31 loc) · 973 Bytes

README.md

File metadata and controls

34 lines (31 loc) · 973 Bytes

club-suite

Getting started with development

Setting up dependencies

We'll use python3 exclusively in this project.

$ sudo apt-get install python3 python3-pip
$ sudo pip3 install virtualenv

First, set up a virtualenv,

$ cd [code-folder]/
$ virtualenv cse-env
$ cd cse-env
$ source bin/activate
$ git clone [email protected]:fsxfreak/club-suite.git
$ cd club-suite
$ pip3 install -r requirements.txt

Other required setup

django requires a SECRET_KEY = '[key]' parameter in settings.py. But, we can't distribute the secret key freely on github, so instead we generate our own.

$ cd clubsuite/clubsuite
$ vim settings_secret.py

Generate a key from this generator and fill SECRET_KEY = '[key]' in settings_secret.py.

In the future, make sure you source bin/activate to activate the virtualenv, and python3 manage.py runserver to run the local server.