Install and Setup
- Install Firefox in the default location
- Make sure you have Python 2.7 or above installed on your computer.
- cd splinter && sudo python setup.py install
- cd ../openpyxl && sudo python setup.py install
- download https://github.com/mozilla/geckodriver/releases and place in system PATH (/usr/local/bin on Unix)
Running:
- sudo python iBuy.py username password file [line]
- username and password are your iBuy username (w/o @uic.edu) and password
- file is the .xlsx file containing the purchase order (other extensions should work but are untested)
- [line] is the line number of the first item you would like the script to add (default 8)
- this is only useful for purchase orders containing multiple vendors
- the script will scan downwards starting at the line specified until it encounters an item from a different vendor
- Enter your computer's password
- You will be logged in to iBuy in a new Firefox browser window.
- Enter the Supplier in iBuy when prompted to by the script.
- Switch back to the terminal and hit enter.
- After execution, verify that the information has been copied successfully before submitting the order.