You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a mentor for a FIRST FRC robotics team who wishes to use Part-DB to manage our inventory. We have a web host available that allows us PHP/MariaDB hosting in a medium-restricted environment (we can add whatever we want to the hosting folder and our database, but can't really install new tools on the server). Docker isn't really an option for us at this point, nor is installing composer, yarn, etc and building everything.
While I'm fairly experienced with installing and configuring pre-built PHP/MySQL web apps, there's really no documentation for installing a pre-built Part-DB. Just putting the contents of public/ into our public webserver folder fails because it's trying to pull files from the vendor/ folder higher up in the folder structure. There's no indication about where to put the env.local file with the config changes and database credentials.
The full Debian install is a bit overkill, as in the control-panel-centric environment, we have a pre-created webhosting folder and database, and all of the dependencies are said to be pre-built and included. I just need some guidance about how to unpack and configure the contents of the prebuilt release for my webhosting environment.
The text was updated successfully, but these errors were encountered:
You basically just need to unpack the zip file, to a web server folder.
The critical part is that you need to point the DocumentRoot of the webserver to the "public/" folder. If and how that is possible, will depend on the the control panel you use, and what kind of rights the hoster has given you. You should look if you have a direct option for it, or if you have the possibility to add "additional apache directives" (and if you dont have this option, you should ask an admin of the hoster to do this for you). You can probably also use the rewrite engine, but I never tried it and you still need to overwrite the webserver config with an .htaccess file.
Also, you still need some kind of SSH or terminal access, to performs the database migrations. But for this a jailed environment running as web user with access to PHP is enough.
I am a mentor for a FIRST FRC robotics team who wishes to use Part-DB to manage our inventory. We have a web host available that allows us PHP/MariaDB hosting in a medium-restricted environment (we can add whatever we want to the hosting folder and our database, but can't really install new tools on the server). Docker isn't really an option for us at this point, nor is installing composer, yarn, etc and building everything.
I'm trying to install a pre-built Part-DB as mentioned here:
https://www.reddit.com/r/diyelectronics/comments/12ii4na/comment/ju2lkq4/
I downloaded an extracted a prebuilt release from
https://github.com/Part-DB/Part-DB-server/releases/download/v1.14.0/Full.Part-DB.including.dependencies.and.built.assets.zip
While I'm fairly experienced with installing and configuring pre-built PHP/MySQL web apps, there's really no documentation for installing a pre-built Part-DB. Just putting the contents of public/ into our public webserver folder fails because it's trying to pull files from the vendor/ folder higher up in the folder structure. There's no indication about where to put the env.local file with the config changes and database credentials.
The full Debian install is a bit overkill, as in the control-panel-centric environment, we have a pre-created webhosting folder and database, and all of the dependencies are said to be pre-built and included. I just need some guidance about how to unpack and configure the contents of the prebuilt release for my webhosting environment.
The text was updated successfully, but these errors were encountered: