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 three 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).
- Create a codespace (recommended if option 2 isn't working).
For the first option, I recommend creating a separate environment to avoid interference with your current libraries.
Follow these steps:
-
Clone the repository using git or download everything by yourself:
git clone https://github.com/LautaroOchotorena/Walking-around-the-city cd Walking-around-the-city
-
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.
For the third option:
On the repository's main page,
-
Click the green Code button.
-
Select Codespaces.
-
Create a codespace.
-
Wait until the python version and the requirements are intalled.
-
Run in the console:
python server.py
-
Click on ports and open the url.
The website may experience downtime if it remains inactive for a period of time. Reload the page. It may take a few seconds to load.
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.