Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.05 KB

README.md

File metadata and controls

33 lines (26 loc) · 1.05 KB

reportviewer

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.

Dependencies

  • Python
  • pip
  • Selenium
  • geckodriver
  • Mozilla Firefox

Directions

  1. Ensure Python is installed, along with pip

  2. Install selenium pip install selenium --user

  3. Install geckodriver

  4. download from https://github.com/mozilla/geckodriver/releases

  5. Extract download to ~/usr/local/bin

  6. Install this repo from https://github.com/cgpurbaugh/reportviewer

  7. Add the following to .bashrc

    echo Launching ReportViewer`
    python /home/pi/reportviewer.py`
    
  8. change /home/pi/reportviewer.py to the location of reportviewer.py on your system.

  9. change the options in reportviewerconfig.py to match your ERPNext server.

  10. reboot and test

  11. if there are any problems, you can open an issue on the Github repo at https://github.com/cgpurbaugh/reportviewer