https://github.com/utkarshg99/Li-Fi-UI
- Debian : .deb
- Arch : .pacman
- Windows : .exe
- Linux :
\opt\LiFi
- Windows :
C:\Users\<USERNAME>\AppData\Local\Programs\LiFi
- Python 3 is installed on your system:
python3 --version
- Install pyserial using:
python3 -m pip install pyserial
- Install node and npm
- Navigate to Main Codes folder and execute:
npm i express formidable cors
python3 -m pip install pyserial
- Then RUN:
python3 pyLiFi.py
-
Install node and npm
-
Navigate to Main Codes folder and execute:
sudo npm i express formidable cors
sudo python3 -m pip install pyserial
- Then RUN:
sudo python3 pyLiFi.py
- Navigate to Main Codes folder and RUN install.sh as root user, i.e., execute the following command(s) :
sudo chmod 777 install.sh
sudo ./install.sh
- Execute:
sudo npm i express formidable cors
sudo python3 -m pip install pyserial
- Then RUN:
sudo python3 pyLiFi.py
node --version
npm --version
- Installation part remains the same
- Instead of runnning pyLiFi.py you can run:
nt:
node mainserver.js
posix:
sudo node mainserver.js
and the run index.html