This is a walking aplication where you can select your city and the distance (up to 10km) you would like to walk (see blue route) and of course you would feel kinda tired after that excercice so it also generates the minimum walk needed to return to your starting point (see red route).
The algorithm has a tendecy of chosing a route heading to the north. It was implemented to avoid chosing routes pretty close to the starting point but you can check it out and change it as you want.
You have two options:
- Download all the files and follow the steps I provide, or
- Visit this website where you can start right away (I recommend this option, but note that you won't be able to customize the algorithm).
For the first option, I recommend creating a separate environment to avoid interference with your current libraries.
Follow these steps:
-
In the console, navigate to the folder and run:
pip install -r requirements.txt
This will install all the necessary dependencies.
-
Run:
python server.py
This will deploy the server, and you can open your web locally.
The website may experience downtime if it remains inactive for a period of time. Reload the page.
If the problem persists, please let me know.
Most of the work was done using ChatGPT, following my provided instructions. Even though I have knowledge in Python, my proficiency in HTML, JavaScript, and CSS is limited.