Question

Getting my application to work on the App platform

Posted August 25, 2021 116 views
PHPDigitalOcean App PlatformBuilding a SaaS

Hello!

I’ve copied and had a look at the example repo for a PHP based application, my folder structure in the repo is as follows

src/
_site/index.php
composer.json
gulpfile.js
package.json

So my actual “application” that I want apache to serve from is in under _site.

My gulpfile copies stuff from src, compiles it and puts it into _site/assets/ which i’ve got working as apart of the build process.

I did try just have it move _site/* to /workspace/* but didn’t feel like that was the best thing to do, Anyone have some suggestions or what I can do?

Currently its running heroku-php-apache2 to start it, is there a way I can easily even change the apache path rather than moving stuff?

Cheers!

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!