Navigator is a custom mapping and navigation app which finds the best route to a specific destination.
- Clone the repository:
-
Open a terminal or command prompt
-
Navigate to the directory where you want to clone the repository.
-
Run the following command:
git clone https://github.com/fateme-alk/navigator.git
-
- Create a conda environment from YAML file
-
Direct the terminal where you cloned the repository
-
Conda will read the YAML file and set up a new environment with the dependencies specified
-
Run the following command:
conda env create --name nav --file=environment.yml -
This process may take a few minutes, as Conda will download and install the necessary packages
-
Once the environment is created, you can activate it by running the following command
conda activate nav
-
- Run the backend server with Flask
- Launch the frontend app using Live Server in VS Code
- Ensure the Live Server extension is installed in your Visual Studio Code (VS Code) editor. If not, you can easily install it from the Visual Studio Code marketplace.
- Right-click on map.html file, and select the "Open with Live Server" option from the context menu.
- Now you can interact with the app in the browser window provided by the Live Server extension