This is the back end server for bisd-device-checkin-client, a small portal to assist in device pickup at Bullard ISD.
go get github.com/korylprince/bisd-device-checkin-server
Create a MySQL database with model.sql
. (This matches pyInventory.)
INVENTORY_SESSIONEXPIRATION="15" #in minutes
INVENTORY_LDAPSERVER="ad1.example.com"
INVENTORY_LDAPPORT="389"
INVENTORY_LDAPBASEDN="OU=base,DC=example,DC=com"
INVENTORY_LDAPGROUP="Admin Group"
INVENTORY_LDAPSECURITY="starttls"
INVENTORY_SQLDRIVER="mysql"
INVENTORY_SQLDSN="username:password@tcp(server:3306)/database?parseTime=true"
INVENTORY_LISTENADDR=":8080"
INVENTORY_PREFIX="/inventory" #URL prefix
INVENTORY_DEBUG="false"