Part-DB / Part-DB-server

Part-DB is an Open source inventory management system for your electronic components
https://docs.part-db.de/
GNU Affero General Public License v3.0
884 stars 97 forks source link

How to fork this project and add my own features #713

Open CodingFactoryT opened 5 days ago

CodingFactoryT commented 5 days ago

Hey, I'd like to fork this project in order to create some special features I need, but I don't know how to set the project up for development after downloading the code. Could you help me a bit with that? What programs do i need, how do I host the server for development and how do I dockerize it when I'm finished? I'd be happy for a response, Thanks!

jbtronics commented 1 day ago

You need the normal requirements for Part-DB (PHP, composer, maybe a database, nodejs & yarn). In principle you can use a full webserver for development, but I find the symfony-cli server easier to use, as it needs no configuration. As an IDE I use PHPstorm with the symfony plugin, but you can use whatever you find good to use as an code editor.

You can build an docker image using one of the Dockerfiles in the project root.

CodingFactoryT commented 41 minutes ago

I managed to make it work, thank you @jbtronics :-) I´m not that experienced with serverside coding, PHP etc., so sorry if this is an obvious question: But what would the procedure be after changing the source code? Do I have to build the frontend with yarn build again or do something else to compile the project and see the changes on the UI or does it work automatically? And what parts would I have to recompile if I make changes in .env.local?