LashApi project
Here is the installation process for building the Lash api project. Firstly make sure git is installed
sudo apt-get install git
After that perform git clone:
git clone https://github.com/PanagiotisDrakatos/LashApi
cd LashApi
To continue make sure the setup.sh script has the required permissions to run correctly
chmod 777 setup.sh
sudo ./setup.sh
After the successful setup of the environment we need to make sure that the server is started. As a result we execute the following command:
python3 manage.py runserver 'IP':80
We wait to see the following screenshot. This command will ensure our server is bootsraped with the given ip in the port 80
Open a browser and hit the following and wait patiently your result
http://172.104.245.69/factorization/?oids=2,44,47](http://194.42.17.241/factorization/?buid=username_1373876832005&modelid=2&prevX=35.144478604108&prevY=33.411452583969&prevDeck=-1&smas_db_location_bound_meters=0.0001&oids=100,100,103)http://194.42.17.241/factorization/?buid=username_1373876832005&modelid=2&prevX=35.144478604108&prevY=33.411452583969&prevDeck=-1&smas_db_location_bound_meters=0.0001&oids=100,100,103
{"flid":2728,"x":35.144805123638,"y":33.411077074707,"deck":-1}
Attention!!! One last thing in the first run we make sure we wait at least 3 min for the api to execute.