Hello,
I wanted to know if anyone can tell me how to deploy a Laravel Inertia Vue and MySQL project using App Platform. I am currently still working on the project but I believe that I am at a good place with enough features that a user can experience and would still look good on my portfolio. I would like to deploy what I have and I am confused on how to go about it. I have not found a tutorial that explains step by step. I have tried on my own but I don’t see anything everything’s white and my console has mixed content errors. I also added a database but I’m not sure if I set it up right. I would appreciate any help. Thanks!
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Hey!
I believe that this should work out of the box just as a standard Laravel app as described here:
There are a couple of things that you might want to do to make sure that your frontend assets are compiled and that you’ve defied your APP_URL correctly:
npm install && npm run production
APP_URL
environment variable to${APP_URL}
that way you will make sure that the correct hostname is set so that you don’t get the mixed content errors.Feel free to share more details about the exact errors that you are seeing and I will try to advise you furhter!
Best,
Bobby