Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/panagiotisdrakatos/lashapi
LashApi project
https://github.com/panagiotisdrakatos/lashapi
Last synced: 7 days ago
JSON representation
LashApi project
- Host: GitHub
- URL: https://github.com/panagiotisdrakatos/lashapi
- Owner: PanagiotisDrakatos
- Created: 2023-03-24T13:23:59.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-08-24T14:49:17.000Z (over 1 year ago)
- Last Synced: 2023-08-24T16:48:45.242Z (over 1 year ago)
- Language: Python
- Size: 2.23 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LashApi
LashApi project## Installation
Here is the installation process for building the Lash api project. Firstly make
sure git is installed```bash
sudo apt-get install git
```
After that perform git clone:
```bash
git clone https://github.com/PanagiotisDrakatos/LashApi
cd LashApi
```
To continue make sure the [setup.sh](https://github.com/PanagiotisDrakatos/LashApi/blob/master/setup.sh) script has the required permissions
to run correctly```bash
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:
```bash
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
![Screenshot](example.png)## Test Api
Open a browser and hit the following and wait patiently your result
```bash
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.