Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.
/ hci-project Public archive

COVID-19 Tracker a Project for Human Computer Interaction (HCI) - built with Django.

Notifications You must be signed in to change notification settings

talalio/hci-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Create an empty directory (Optional)

mkdir project && cd project

Clone this repository

git clone https://github.com/talalOfficial/hci-project.git

Create a virtual environment and activate it

python3 -m virtualenv venv && source venv/bin/activate

Change to the project directory and install requirements

cd hci-project && pip install -r requirements.txt

Generate a new django SECRET_KEY using

python manage.py shell -c 'from django.core.management import utils; print(utils.get_random_secret_key())'

Create a file called .env and store the secret in it (add it with out quotes)

touch .env && echo "SECRET_KEY=YOUR_NEW_SECRET" > .env

Sign up for an account in RapidAPI and get your key, append that key to .env file (again without using quotes)

echo "rapidapi_key=YOUR_API_KEY" >> .env

Collect the static files to serv

python manage.py collectstatic

Migrate and run the server

python manage.py migrate
python manage.py runserver

Credits

TODO

  • Add TTS (Text To Speech)
  • Add search
  • Improve code quality