Skip to content

Uganda-Open-Data/polling-tally

Repository files navigation

Polling Tally

Build Status Maintainability Test Coverage

Stack

Python >= 3.9.1
Django >= 3.1.5
Bootstrap 4

How to set up

  1. Set up a virtual env with python >= 3.9.1 and activate it
  2. Run pip install -r requirements.tx to install the dependencies
  3. Create .env file using the .env_example as an example.
  4. Run python manage.py run migrations to run migrations and set up the database for you
  5. Run python manage.py run server to start a local development server for you
  6. Go to your browser and navigate to 127.0.0.1:8000 to access the app in your browser

Test and test coverage

  1. To run tests, run coverage run manage.py test
  2. To get a coverage report, run coverage report
  3. If you aren't all about that, just look at the coverage badges at the top of this readme

Contributing

How to set up your development env

coming soon

Rules and guidelines

coming soon