In this project we aim to build new health centers at places where there is a lack of medical services using a dynamic mapping system. The tools that we have used so far are web scraping , python3(for making our base code run).Website is constructed using HTML, CSS, Bootstrap, Javascript, Flask(_WTForms,_Bootstrap,etc.), SQLAlchemy and Sqlite(as database for login information). The coronavirus pandemic has shown us all in just a few days how fragile our way of life really is. Basic certainties about our health, that of our loved ones and our normal way of life can no longer be taken for granted.Opening temporary or permanent medical centers at the right place for now is the basic aim so that for any sort of treatment no one has to travel long distances and can be cured at nearby places itself and medical services can reach a large number of people at same time.
CHECK Demo.mp4
for quick demonstration.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Install python3(latest version).
In the project directory, open Terminal(Mac/Linux) or Command Prompt(Windows)
pip install flask
pip install flask_bootstrap
pip install flask_wtf
pip install flask_sqlalchemy
Once done with the project setup, open the project in an IDE; for example - PyCharm, Visual Studio Code, etc.
NOTE : Be sure to select appropriate interpreter. Sometimes it may get deselected.
- Create Virtual Environment
pip install virtualenv
virtualenv myenv
source myenv/bin/activate
myenv\Scripts\activate
-
Head to the project directory containing
main.py
-
Open Terminal(Mac/Linux)/Command Prompt (Windows) there.
-
Follow accordingly ⬇️
- Unix Bash (Linux, Mac, etc.):
$ export FLASK_APP=main/py $ flask run
- Windows CMD:
> set FLASK_APP=main.py > flask run
- Windows PowerShell:
> $env:FLASK_APP = "1" > flask run
$ flask run
Serving Flask app "hello"
Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
-
Copy
http://127.0.0.1:5000/
and open it in a browser and Voila!
Without using shell
- Open
main.py
- Hit
Run
, if using any IDE as mentioned above.
Pleas read Contribution.md 👆 for details on our code of conduct, and the process for submitting pull requests to us.
Initial Work