By ciekals11
I was trying to deploy my app following: https://docs.digitalocean.com/products/app-platform/languages-frameworks/php/#creating-php-applications-in-app-platform
I was trying to deply from gitlab and in my root directory there is composer.json file but when I try do deplay my app, DO says that “we couldn’t find an app in your repo”
Is there something more that I need to do in order to create my app? I have even tryed to add index.php in root directory with require on vendor/autoload.php but for no use.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hey @ciekals11,
You need to have one of index.php and composer.json in the root of the repo for a PHP app to be detected. If your code is in a subdirectory you will need to configure the Source Dir option to point to the subdirectory.
Please open a support ticket and include the link to your repo and we can take a closer look into why the process is failing. You can also share a specific commit if you wish.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.