Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kunaaljain committed Apr 17, 2015
1 parent c8041a9 commit fdc15e6
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions README.md
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
```

0 comments on commit fdc15e6

Please sign in to comment.