//UofG_Team_Project_Mainbyineshbose

UofG_Team_Project_Main

University of Glasgow: Team Project (H) Main Repository

0
0
0
Python

Logo

TrypAdvisor

Sleep Sickness Surveillance App
View Demo · Report Bug · Request Feature
pipeline status coverage report

Table of Contents

About The Project

Sleeping sickness is a disease that affects speakers of many different languages, and symptoms can vary by geographic location. As a result, this app:

  • enables sleeping sickness researchers to easily make modifications (such as altering the text, asking different questions, or translating everything into a different language) without great levels of programming know-how;
  • submits reports to should contain up-to-date records of all submissions, including answers to all questions and geographic location;

Built With

For more information, please refer to the Wiki.

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • git

The first step is to clone the repository in your preferred directory using

git clone https://stgit.dcs.gla.ac.uk/tp3-2020-CS04/cs04-main
cd cs04-main

This requires Git; however, you can also download the repository as a
zip,
tar.gz,
tar.bz2 and
tar.

  • python / pip

A virtual environment is always a good idea.

python3 -m venv env
source env/scripts/activate
pip3 install -r requirements.txt

Running

  1. Make model migrations
python3 manage.py makemigrations
  1. Reflect migrations to database
python3 manage.py migrate
  1. Populate with data
python3 population_script.py
  1. Run application
python3 manage.py runserver

Navigate to 127.0.0.1:8000 on a browser to view the application!

Testing

Unit tests are in sleep_app/tests.py. Run them with

python3 manage.py test

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Dr. Walt Adamson - Walt.Adamson@glasgow.ac.uk

Project Link: http://trypadvisor.pythonanywhere.com/

SoCS Team Project H 2020 CS04

  • Dr. Tim Storer (Lecturer)
  • Hannah Mehravari (Coach)
  • Amy Kidd
  • Elizabeth Boswell
  • Inesh Bose
  • Jingqi Li
  • Mihhail Pikkov
[beta]v0.14.0