Super awesome inventory System for electronic devices
Python HTML JavaScript CSS
Permalink
Failed to load latest commit information.
.tx
Lagerregal
api
casper-tests
devicegroups
devices
devicetags
devicetypes
history
locale
locations
mail
main
network
static
templates
users
.gitignore
.travis.yml
LICENSE
README.md
database2.db
dependencies.txt
manage.py

README.md

Lagerregal

Lagerregal is a somewhat flexible invetory system. Mostly designed to work best for my workplace, but should easily customizable to your needs.

Build Status

Quickstart

Install necessary requirements (either globally or with virtualenv)

$ sudo pip2 install -U -r dependencies.txt

Generate settings.py

$ cp Lagerregal/settings_template.py Lagerregal/settings.py

Run:

$ python2 manage.py syncdb
$ python2 manage.py runserver

Label Printing

  1. Create necessary label templates with the official software and put them in static/.

  2. Set ALLOWED_INCLUDE_ROOTS = ('/path/to/static/dir',) in settings.py to the absolute location of that static folder.

  3. Set the LABEL_TEMPLATES, Example:

LABEL_TEMPLATES = {
    "sample_department": {
        "device": [
            "/path/to/Lagerregal/static/labels/device.label",
            ["data","keys","to", "use","in","label"] ]
        "room": [
            "/path/to/Lagerregal/static/labels/room.label",
            ["data","keys","to", "use","in","label"] ]
    }
}