A simple raspberry pi-based report viewer for ERPNext.
The goal of this project is to create a simple script that opens a report in ERPNext, and refreshes the report periodically.
An authentication function still needs added to get this working.
- Python
- pip
- Selenium
- geckodriver
- Mozilla Firefox
-
Ensure Python is installed, along with pip
-
Install selenium
pip install selenium --user
-
Install geckodriver
-
download from https://github.com/mozilla/geckodriver/releases
-
Extract download to
~/usr/local/bin
-
Install this repo from https://github.com/cgpurbaugh/reportviewer
-
Add the following to
.bashrc
echo Launching ReportViewer` python /home/pi/reportviewer.py`
-
change
/home/pi/reportviewer.py
to the location of reportviewer.py on your system. -
change the options in reportviewerconfig.py to match your ERPNext server.
-
reboot and test
-
if there are any problems, you can open an issue on the Github repo at https://github.com/cgpurbaugh/reportviewer