Installation notes To setup the server you need the following softwares installed:
- Python 3 (install Anaconda)
- Flask for python (conda install -c anaconda flask)
- Install mysql python link (pip install pymysql)
- Install XAMPP
Once you have the above four installed follow the below steps:
- Setup MySQL in XAMPP 1.1 Open xampp shell (windows)/ terminal (linux/mac) and type following commands and press enter 1.2 "mysql -u root -p" press enter twice (no password) 1.3 CREATE DATABASE gvrp_db; 1.4 USE gvrp_db; 1.5 CREATE TABLE input_table (NodeType varchar(20) not null, Latitude float, Longitude float, Demand float); 1.6 exit 1.7 exit
- git clone https://github.com/surendrark/VRPonWEB/
- Extract the cloned git files
- Form Anaconda prompt (windows) / terminal (linux/ mac) cd to extracted folder
- run python GVRP.py
Now the server is up and running
Open a browser and type localhost:5000 or 127.0.0.1:5000 to open the web application