GNURadio: gr-adsb: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
No edit summary
Onnowpurbo (talk | contribs)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
Sumber: https://github.com/mhostetter/gr-adsb#webserver-dependencies
Sumber: https://github.com/mhostetter/gr-adsb#webserver-dependencies


  cd gr-adsb/
==Instalasi Pendukung==
 
Install gr-sqlite seperti di terangkan di [[GNURadio: gr-sqlite]]
 
Jika menggunakan built-in Google Maps webserver, kita perlu menginstalasi package Python berikut,
 
sudo su
apt update
apt -y install python-pip
pip install flask
pip install flask-socketio
pip install gevent
pip install gevent-websocket
 
Download, Compile & Install
 
cd /usr/local/src
git clone https://github.com/mhostetter/gr-adsb.git
  cd /usr/local/src/gr-adsb/
  mkdir build
  mkdir build
  cd build/
  cd build/
Line 9: Line 27:
  sudo ldconfig
  sudo ldconfig


Webserver Dependencies


If using the built-in Google Maps webserver, you'll need to install the following Python packages.
==Jalankan Web Server + Google Maps==
 
cd /usr/local/src/gr-adsb/
cd web/
  python2 webserver.py &
===Client===


sudo pip install flask
* Open a web browser
sudo pip install flask-socketio
* Browse to
sudo pip install gevent
sudo pip install gevent-websocket


http://localhost:5000


==Referensi==
==Referensi==

Latest revision as of 22:04, 6 January 2020

Sumber: https://github.com/mhostetter/gr-adsb#webserver-dependencies

Instalasi Pendukung

Install gr-sqlite seperti di terangkan di GNURadio: gr-sqlite

Jika menggunakan built-in Google Maps webserver, kita perlu menginstalasi package Python berikut,

sudo su
apt update
apt -y install python-pip
pip install flask
pip install flask-socketio
pip install gevent
pip install gevent-websocket

Download, Compile & Install

cd /usr/local/src
git clone https://github.com/mhostetter/gr-adsb.git
cd /usr/local/src/gr-adsb/
mkdir build
cd build/
cmake ../  # or cmake -DCMAKE_INSTALL_PREFIX=<path_to_install> ../
make
sudo make install
sudo ldconfig


Jalankan Web Server + Google Maps

cd /usr/local/src/gr-adsb/
cd web/
 python2 webserver.py &

Client

  • Open a web browser
  • Browse to
http://localhost:5000

Referensi

Pranala Menarik