This project is still in an early development stage and not yet ready for production environments. Because of that there are no setup instructions present yet. The code quality needs improvement, i.e. a more modular approach will be incorporated via code-refactoring in the near future.
Shelf-DB is a web application based on php/MySQL/Javascript to keep track of things. The design is mobile-first.
It is formally based on Part-DB but now completely rewritten from scratch, offering new features and a different UI approach.
- php >= 7.0 php extensions: mysqli, gd2 (for QR codes), mbstring
- MySQL >= 5.0
- Extract the repository contents into any folder of a webserver meeting the requirements above.
- Go into the
./config
folder and edit theconfig.json
to meet your desired sql server settings. - Launch the
index.php
main page in a web browser. A standard database structure will be created where the database name given in the config file is used. - Ready for use!
- Plain-jqTree-Theme - MIT License
- jqTree - Apache License 2.0
- jQuery - MIT License
- font awesome - SIL Open Font License / MIT License
- jquery-mobile - MIT License (same as jQuery)
- jquery-validation - MIT License
- jquery-mobile-font-awesome - GNU GPLv3
- jQueryFileUpload - MIT License
- simpledialog2 jquery mobile plugin - Creative Commons 3
- qrcode-generator - MIT License
- NameSpaceFinder php class - Creative Commons BY-SA 2.5 License (Share & Adapt)
- BlueM/Tree - BSD License
- twigphp/Twig - BSD License 3-clause
- TiGR/twig-preprocessor - MIT License
Special thanks to all the people that contributed to these projects.
- Remove json pretty print
- Remove debugger statements from javascript
- Remove debug output
- new categories must be greyed out in the edit tree view
- decode html special chars in database
- inline edit
- part table search
- part table filter
- delete part from detail page
- copy part from detail page
- add datasheets and images on detail page
- allow adding of part from part table
- show price information in part detail view including tooltip with timestamp of last update
- REST API
- Refactor all the JavaScript code