inventory-checkin
Inventory check-in/out (device) manager that supports a tablet kiosk.
Review the settings.py
file for configuration details.
Note: This is beta software.
Basic Setup
Requires
Instructions:
- Download Inventory Checkin source from GitHub.
- Clone/extract the source code in the desired (install) directory. This will be where the app lives.
- In the
setup
directory. Runsh ./virtualenv-setup.sh
to setup an isolated environment and download dependencies. - Configure settings. The defaults in
settings.py
provide documentation for each setting.- Copy
settings.py
tolocal_settings.py
. - Override/copy any setting from
settings.py
tolocal_settings.py
(change the values as needed).
- Copy
- Run
source inventorycheckin_env/bin/activate
to enter the virtual environment. Typedeactivate
to exit the virtual environment. - Run
python main.py --runserver
to start the web server. - Go to
http://localhost:7777
to access the web interface. Uses the twitter bootstrap for its UI.
Default Login
username: [email protected]
password: admin
The defaults can be changed in the admin: http://localhost:7777/admin
.
Usage Scenario
This web app will allow you to setup users which are either admin
or only authenticated
. However, the system works with three user types: admin
, authenticated
, and anonymous
.
Typical scenario (setup):
co/i = Check Out and In
- Login as the admin.
- Update the admin user credentials (if needed).
- Import/create persons that can co/i inventory items.
- Add groups and inventory items to the groups.
- Create an authenticated (non-admin) user for the kiosks/tablets. This will allow the user to co/i inventory items, but no access is given to the admin panel.
- Login using the kiosk credentials on the desired device.
- Go to
/inventory
. - All other users can then co/i items from that device.
- Go to
- Anonymous users can now view the co/i status of the items in the inventory.
- Go to
/inventory
. - It is a readonly view of the inventory, that auto-refreshes.
- Go to
Deployment Notes
Sample supervisord.conf
section:
[program:inventorymate]
command = /path/to/inventorymate/inventorycheckin_env/bin/python main.py --runserver
directory = /path/to/inventorymate
stdout_logfile = /path/to/inventorymate.log