Go to file
2019-04-27 15:28:26 +10:00
images/logo Update logo colours 2019-04-18 09:16:16 +10:00
InvenTree PEP fixes 2019-04-27 15:25:40 +10:00
wip Reorganize script locations 2019-04-17 19:03:28 +10:00
.coveragerc Ignore some files for coverage report 2019-04-25 18:54:36 +10:00
.gitattributes Added gitattributes file 2017-03-29 23:45:27 +11:00
.gitignore SECRET_KEY is now generated by a script and stored as a local file 2019-04-24 16:01:47 +10:00
.travis.yml Cleanup requirements file 2019-04-25 21:04:33 +10:00
LICENSE Initial commit 2017-03-23 12:44:10 +11:00
Makefile Remove makefile comment which breaks make on windows 2019-04-26 21:25:40 +10:00
README.md Update README.md 2019-04-25 01:02:14 +10:00
requirements.txt Cleanup requirements file 2019-04-25 21:04:33 +10:00
roadmap.md Update roadmap.md 2017-04-02 23:46:00 +10:00
setup.cfg Increase allowed complexity 2019-04-25 21:09:02 +10:00

License: MIT Build Status Coverage Status

InvenTree

InvenTree is an open-source Inventory Management System which provides powerful low-level stock control and part tracking. The core of the InvenTree system is a Python/Django database backend which provides an admin interface (web-based) and a JSON API for interaction with external interfaces and applications.

Installation

It is recommended to set up a clean Python 3.4+ virtual environment first: mkdir ~/.env && python3 -m venv ~/.env/InvenTree && source ~/.env/InvenTree/bin/activate

You can then continue running make setup (which will be replaced by a proper setup.py soon). This will do the following:

  1. Installs required Python dependencies (requires pip, should be part of your virtual environment by default)
  2. Performs initial database setup
  3. Updates database tables for all InvenTree components

This command can also be used to update the installation if changes have been made to the database configuration.

To create an initial user account, run the command make superuser.

Documentation

For project code documentation, refer to the online documentation (auto-generated)

Coding Style

If you'd like to contribute, install our development dependencies using make develop. All Python code should conform to the PEP 8 style guide. Run make style which will compare all source (.py) files against the PEP 8 style. Tests can be run using make test.