Part-DB is an Open source inventory management system for your electronic components
Find a file
2019-08-06 13:40:12 +02:00
.github Update main.workflow 2019-03-25 22:52:51 +01:00
assets Added an alert that pop ups, when an ajax request is not successfull 2019-04-13 19:45:24 +02:00
bin Initial commit 2019-02-23 16:49:38 +01:00
config Added migration from old Database to new database. 2019-08-06 13:18:29 +02:00
public Added the support for an env variable HEROKU, which causes, that Symfony trusts all proxies. 2019-04-05 23:54:10 +02:00
src Added migration to create an empty database. 2019-08-06 13:40:12 +02:00
templates Show average price of a part in part info. 2019-08-02 15:10:29 +02:00
tests Added some unit tests. 2019-03-26 23:34:40 +01:00
translations Added translations 2019-04-28 12:30:33 +02:00
.env Added the base layout from the old Part-DB. 2019-02-24 18:32:03 +01:00
.env.test Initial commit 2019-02-23 16:49:38 +01:00
.gitignore Use localizeddate for showing date information in templates. 2019-03-05 14:23:38 +01:00
.travis.yml Disable deprecation helper on travis. 2019-03-27 16:28:01 +01:00
.yarnclean Updated yarn dependencies... 2019-03-19 15:24:44 +01:00
CODE_OF_CONDUCT.md Added code of conduct. 2019-03-27 16:36:16 +01:00
composer.json Show shopping informations in part details 2019-08-02 12:17:56 +02:00
composer.lock Show shopping informations in part details 2019-08-02 12:17:56 +02:00
LICENSE.md Added License file 2019-02-23 22:43:14 +01:00
package.json Upgraded yarn dependencies: Fixes XSS vulnerability in Bootbox 2019-08-01 11:38:18 +02:00
phpunit.xml.dist Initial commit 2019-02-23 16:49:38 +01:00
Procfile Added procfile for heroku deployment. 2019-03-25 16:47:26 +01:00
README.md Install CKEditor during composer install routine. 2019-04-06 00:19:19 +02:00
symfony.lock Show shopping informations in part details 2019-08-02 12:17:56 +02:00
VERSION Show the version number of Part-DB on homepage. 2019-03-12 13:34:33 +01:00
webpack.config.js Added simple single page ajax handling for a links. 2019-03-24 19:55:39 +01:00
yarn.lock Upgraded yarn dependencies: Fixes XSS vulnerability in Bootbox 2019-08-01 11:38:18 +02:00

Scrutinizer Code Quality Build Status

Part-DB

Part-DB is an Open-Source inventory managment system for your electronic components. It is installed on a web server and so can be accessed with any browser without the need to install additional software.

The version in this Repository is a complete rewrite of the legacy Part-DB (Version < 1.0) based on a modern framework. In the moment it lacks many features from the old Part-DB and the testing and documentation is not finished, so this version is not recommendend for productive work!!

Demo

If you want to test Part-DB without installing it, you can use this Heroku instance. (Or this link for the German Version).

You can log in with username: user and password: user.

Every change to the master branch gets automatically deployed, so it represents the currenct development progress and is maybe not completly stable. Please mind, that the free Heroku instance is used, so it can take some time when loading the page for the first time.

Features

  • TODO

Requirements

  • A web server (like Apache2 or nginx) that is capable of running Symfony 4, this includes a minimum PHP version of PHP 7.1.3
  • A MySQL/MariaDB database server
  • Shell access to your server is highly suggested!
  • For building the client side assets yarn and nodejs is needed.

Installation

  1. Copy or clone this repository into a folder on your server.
  2. Configure your webserver to serve from the public/ folder. See here for additional informations.
  3. Copy the global config file cp .env .env.local and edit .env.local:
    • Change the line APP_ENV=dev to APP_ENV=prod
    • Change the value of DATABASE_URL= to your needs (see here) for the format. Currently it is not possible to create a new databse. You have to use the database created by an old Part-DB version!
  4. Install composer dependencies and generate autoload files: composer install --no-dev
  5. Install client side dependencies and build it: yarn install and yarn build
  6. Optional (speeds up first load): Warmup cache: php bin/console cache:warmup

When you want to upgrade to a newer version, then just copy the new files into the folder and repeat the steps 4. to 7.

Built with

Authors

  • Jan Böhmer - Inital work - Github

See also the list of contributors who participated in this project.

Based on the original Part-DB by Christoph Lechner and K. Jacobs

License

Part-DB is licensed under the General Public License 2 (or at your opinion any later). This mostly means that you can use Part-DB for whatever you want (even use it commercially) as long as you publish the source code for every change you make under the GPL, too.

See License.md for more informations.