deploy Laravel and flutter web on the same app on heroku

I deploy laravel project and database to heroku and it works well,
then I have a flutter web to deploy on the same app in heroku
what should I do ?

I try this git push heroku master –force after i detect the app on heroku
but it doesn’t work

note :I deploy the flutter web on heroku on another app name on heroku and it works
but I want the laravel and the flutter web on the same app on heroku
can any one advise me to deploy this on the same app ?

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

the answer it cannot to deploy both on the same server on heroku

because each one have to one server in order to work fine

if the backend integrated with the front for example laravel+vue
it is work on one server because its integrated in one project


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x