A simple Django app for device asset management.
- Python >= 2.5
- pip
- virtualenv (virtualenvwrapper is recommended for use during development)
- Install prerequisites
- cd to inventory directory
- Optional: Edit compiled.txt to choose your database adapter. Skip this to use sqlite
$ pip install -r requirements/dev.txt
$ cp inventory/settings/local-dist.py inventory/settings/local.py
(so that local.py won't be added to your source control)- Edit local.py with your local database settings (only if using something other than sqlite).
$ python manage.py syncdb
- Perform any necessary migrations
- e.g.
$ python manage.py migrate
- e.g.
$ python manage.py runserver
- Run tests using
$ fab test
- To use watchdog (for CI),
$ ./bin/watchmedo.sh
.
This software is licensed under the New BSD License. For more
information, read the file LICENSE
.