-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c8041a9
commit fdc15e6
Showing
1 changed file
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,32 @@ | ||
# gems | ||
# Gems | ||
Gymkhana Election Management System | ||
|
||
#requirements | ||
# Requirements | ||
Python 2.7 with Django framework | ||
Python libraries: xlrd, xlsxwriter and crypto | ||
|
||
## Installation | ||
|
||
The following command should install everything in Ubuntu | ||
sudo apt-get install python2.7 python-django python-xlrd python-xlsxwriter python-crypto | ||
or use pip to install the libraries | ||
|
||
## How to contribute | ||
### For Debians based systems: | ||
``` | ||
sudo apt-get install python2.7 python-django python-xlrd python-xlsxwriter python-crypto | ||
``` | ||
OR | ||
``` | ||
pip -E install django xlrd xlsxwriter crypto | ||
``` | ||
### Load database | ||
|
||
#refreshing the database | ||
#### Refreshing the database | ||
``` | ||
rm db.sqlite3 | ||
``` | ||
``` | ||
python manage.py shell <dummydata.py | ||
#note the above command will not generate an admin account. To do that make 'interactive = True' in dummydata.py and copy-paste dummydata.py in `python manage.py shell` | ||
|
||
Run | ||
``` | ||
Note the above command will not generate an admin account. To do that make 'interactive = True' in dummydata.py then run | ||
``` | ||
python manage.py shell < dummydata.py | ||
``` |