Excelent Video!! I spend a day trying to deploy a docker container and only your video was clear and simple, Thank you so much!!
@mcylinder Жыл бұрын
Great job. I use a local DB for dev, then switch configs and run migrations when it's time to push to production. One tip I wanted to pass on is you can set a lot of ENV variables in your DOCKERFILE. I did that with my common values and then did the more critical ones (passwords, API keys) in the Google Cloud interface. (maybe 8 of them?). There's also a YAML file that gets created and that can also be revised.
@mamenatech2 жыл бұрын
core question for LARAVEL. how run artisan command, & npm run prod? 🍔
@DanielKyleb4 ай бұрын
Thanks for this! I got this to work but how do I make the changes show up real-time in localhost?
@thedanmwangi2 жыл бұрын
This is golden! 👏 What if your app has frontend libraries served with NPM? How can you install them in production?
@VybzKartelClassics4 ай бұрын
What if we bought a script on codecanyon how do we upload it to Google cloud platform? Could u make a video on that?
@victorchinonsougwu13592 жыл бұрын
Thank you for this, this worked like charm. I have a quick question tho how do I verify my SQL instance is connected and how do I run my artisan commands??
@techman43962 жыл бұрын
just test your sql with any desktop tool or create a controller and fetch some records.
@victorchinonsougwu13592 жыл бұрын
@@techman4396 That worked but my database didn't migrate to the cloud SQL and VARIABLES also didn't reflect, how would I go about that
@cricrangers25112 жыл бұрын
Even adding environmental variable is not working, despite every permission, seems like cloud sql for laravel is not working with cloud run
@Michael_Andish Жыл бұрын
And Mysql? how do you manage DB and connect to DB?!
@skylake9779 Жыл бұрын
I put all env variables still getting this error "
@code-island5 ай бұрын
really useful, thanks
@rustamergashev7278Ай бұрын
👍
@rayaguilar90852 жыл бұрын
Why set minimum instances to 1? Was that just so you could make it faster or will it not work with 0?
@coolcha2 жыл бұрын
How to use local database for development locally using such a deployment workflow?
@vincemcgaj6282 жыл бұрын
Thanks a lot! I tried CodeJets's method at first. Could not get it to work after multiple tries. Then I tried your method, it worked the first time around. Nice job.
@vincemcgaj6282 жыл бұрын
Again, thanks for the help. Is there a way to run database migrations via "php artisan migrate --force" automatically when deploying to Cloud Build?
@bylde47912 жыл бұрын
@@vincemcgaj628 I am sure there is a way but remember google cloud run does not allow volumes so if you are trying to save a mysql database colume on google run then it wont work
@vincentmcgargill81142 жыл бұрын
@@bylde4791 I actually figured it out. To run migrations during deployment, you are supposed to add an additional step to your cloud build process (i.e. typically the cloudbuild.yaml file). Just have that step connect to the DB then run php artisan migrate --force. Works like a charm. Again, thank you for posting this video.
@kansagous2 жыл бұрын
@@vincentmcgargill8114 Please share it :)
@borknagarchile Жыл бұрын
Did you get working the cloud mysql connection?
@nadjinmalade87382 жыл бұрын
thkx a loft for your video
@techman43962 жыл бұрын
hapy to help
@valeriopucciarelli2 жыл бұрын
Hi, thank you for the video. I managed to deployed a laravel vue app on cloud run but the css / js files are not loaded. How can I solve this problem? it's the same If i copy the .env.example with a new command run in Docker file?
@techman43962 жыл бұрын
Can you share the URL of your GCP instance? Will need to check the root path for your js/css and then only I can help you.
@valeriopucciarelli2 жыл бұрын
@@techman4396 I solved the problem, when the app is online need to set the url with https and no http
@ajawinery55042 жыл бұрын
@@valeriopucciarelli how to setting with apps bro?
@GtrsJohn Жыл бұрын
Hi thanks for your video. It is not necessary to add a user in the dockerfile ?
@JosueLMM Жыл бұрын
and MYSQL?
@abhishek01162 жыл бұрын
@TechMan How much it cost you?
@arifdevcoding2 жыл бұрын
Where is mysql?
@frijai67202 жыл бұрын
would you have a codeigniter 4 tutorial? please it's urgent
@alanaprianto50592 жыл бұрын
how to run laravel migration?
@nnaemekanweke Жыл бұрын
From the infrastructure setup for this video, the local environment is connected to the same database cloud run connects to. So you run your migration locally.
@felipeveiga872 жыл бұрын
is it more cheap than a vm ?
@Peter-ue4iz2 жыл бұрын
I have the same question. How much would it cost to run a blog that has about 100,000 monthly visits?