Amidst the global pandemic, managing crowd has been one of the prime challenge of the government and various institution. That is where HospLine comes to the rescue. HospLine is a webapp that allows you to join a queue virtually which leads to no gathering hence lesser people in Hospitals that enables health workers to have the essentials handy.
- You will have to fill in your details in the given form and it will assign you a spot in the virtual queue.
- On submitting the form, you'll be directed to a new page where your position in the virtual queue will be displayed.
- It will also inform you about the number of people ahead of you in the queue.
- If someone ahead of you leaves the queue, then the data will be updated and displayed on your page in realtime.
- Clone this Repo using:
git clone git@github.com:mdarshad1000/Hosp-Line.git
- Change to the repo directory:
cd Hosp-Line
- If you want to use virtual environment (Recommended):
virtualenv HOSPENV && source HOSPENV/bin/activate
- After that, install all the requirements
pip install -r requirements.txt
- Create an 'auth.json' file in the 'Hosp-Line' directory and add
{
"HOST" : "hostname",
"DB" : "database name",
"USER" : "username",
"PASS" : "password",
"port_id" : "port
}
- Run init.py, this will create your database. (Make sure you've Postgresql installed on your local system)
- Now you are good to go. Run app.py and visit in your browser.
http://localhost:5000/
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
