msucil / election-nepal

A crowdsourced open portal that brings all kind of Data related to Nepal's Local Election.

Home Page:http://electionnepal.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

election-nepal

Election Nepal is the project of Open Knowledge Nepal. It is a crowdsourced open portal that brings all kind of Data related to Nepal's Local Election together in Open and Visual Format.

Code Behind http://electionnepal.org

Status

In progress not completed.

Local Development

  • Clone the repo
git clone https://github.com/okfnepal/election-nepal
  • Create a virtualenv
virtualenv venv
  • Activate the virtualenv
source venv/bin/activate
  • Install prerequisites
sudo apt-get install build-essential libssl-dev libffi-dev python-dev
  • Install the requirements using pip
pip install -r requirements.txt
  • Run migrations
python manage.py makemigrations
python manage.py migrate
  • Database fixture to load sample data
python manage.py loaddata  election-nepal-fixture.json 
  • Run the server
python manage.py runserver
  • In a web browser, go to localhost:8000, and you should see the development site! Please note that the terminal window you are running the development site in must stay open while you are using the site.

  • When daily development is complete, terminate the local web server by typing CONTROL + C. Also deactivate the virtual environment:

deactivate

Contributing

Election Nepal is an open source project. Repositories are hosted on GitHub, so contributing is easy and anyone can get involved.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A crowdsourced open portal that brings all kind of Data related to Nepal's Local Election.

http://electionnepal.org

License:MIT License


Languages

Language:CSS 68.6%Language:HTML 14.3%Language:JavaScript 9.9%Language:Python 7.3%