Flask application to find the distance from the Moscow Ring Road to the specified address
- Flask application
- Use Googlemaps API
- Calculate distance between points
- Documentation
- Unit test
- Dockerize application
Before starting, make sure you have met the following requirements:
- Most recent version of
Python
- Python
pip
installed - Use
Windows / Linux / Mac
.
To install Distance_Meter, follow these steps:
Clone repository:
git clone https://github.com/betows/Distance_Meter.git
Enter in the project's root folder
cd Distance_Meter/
In the project's root folder run the command to download packages:
pip install -r requirements.txt
To use Distance_Meter, follow these steps:
In the project's root folder run the command to download packages:
python app.py
OR
flask run
To contribute to Distance_Meter, follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>
. - Make your changes and commit them:
git commit -m '<commit_message>'
- Send to the original branch:
git push origin Distance_Meter / <local>
- Create the pull request.
Alternatively, see the GitHub documentation at how to create a pull request.