This tutorial is the best tutorial video that explains "how to deploy laravel app with database" perfectly. Thanks for the video
@CodeBand2 жыл бұрын
Glad it was helpful!
@waveyofearth Жыл бұрын
do i have to git init before heroku create if i already have a project repository in github? i created it for version control before
@joellopescunhadesouza8617 Жыл бұрын
Nice tutorial!!! Helped me a lot! I had even saw another videos but just with this one i managed to deploy my app. Thanks!
@CodeBand Жыл бұрын
Glad it helped!
@dalumpines.stanley7 ай бұрын
Sir, any tips for this error? SQLSTATE[HY000] [2002] Cannot connect to MySQL using SSL
@Dharmendrakewat1232 жыл бұрын
thank you so much for like this video ,initially i was facing errors but right now my app in online thanks buddy😜
@CodeBand2 жыл бұрын
Glad to hear that :)
@kestutissukys3352 жыл бұрын
I have a question. Why when I try to log in and when I log in to the account the project home page throws a 404 error. But when I change the name of the url to another method everything works.
@CodeBand2 жыл бұрын
Looks strange, were you able to solve it?
@ayaimad78122 жыл бұрын
I don't have a database I'm using API would it still work if I deployed it ??? I hope you answer very soon
@CodeBand2 жыл бұрын
Sorry for the late reply.... It will absolutely work fine...
@benjaminjohn44394 жыл бұрын
I have watched different videos, I still encounter errors but your method worked once 😍😍😍
@CodeBand4 жыл бұрын
Glad to hear that! Keep going :)
@salmanali9259 Жыл бұрын
I am getting this error could you please help me » Warning: heroku update available from 7.69.1 to 8.0.2. » Error: Missing required flag: » -a, --app APP parent app used by review apps » See more help with --help
@mathiaseju3612 Жыл бұрын
simply run heroku update on your cli
@hariprabhu49974 ай бұрын
man saved the life :)
@shahhussain55632 жыл бұрын
how to import mysql database with is having data ? please help me.
@CodeBand2 жыл бұрын
Sorry for the late reply... U mean to use an already running production DB ?
@abdullahAboelkhair2 жыл бұрын
invalid value for parameter "client_encoding": "utf8mb4" please help
@CodeBand2 жыл бұрын
Sorry for the late reply.... Is this fixed ? stackoverflow.com/questions/58795504/invalid-value-for-parameter-client-encoding-utf8mb4-sql-select-from-ta
@abdullahAboelkhair2 жыл бұрын
@@CodeBand it worked thanks
@suriyakuppuswamy5962 жыл бұрын
In my case everything is working fine but I am not getting session value response in my blade file from controller but session value is displayed on controller when I have done dd please help me out If any one know the solution
@CodeBand2 жыл бұрын
How are you accessing session value in blade file ?
@samyishere23822 жыл бұрын
At add-on page they asking for credit card details?? What can i do for that?
@CodeBand2 жыл бұрын
On a new account opening in Heroku, we're required to provide our card details, they will not deduct the money.. just as a proof...
@samyishere23822 жыл бұрын
@@CodeBand Is there any way that i can link my laravel application with sql database which i created on remotesql and then deploy on Heroku? So that for this I don't need to give my credit card details and i can use database
@CodeBand2 жыл бұрын
CC/DC details are required as part of verification whatsoever... and regarding mysql, you can absolutely do that... See this : stackoverflow.com/questions/5397028/remote-mysql-database-on-heroku-app
@mkgamingentertainment37864 жыл бұрын
Thanks Code Band, that was really helpful
@CodeBand4 жыл бұрын
Glad to hear that😊
@charlesmarnielimpo37033 жыл бұрын
Thanks man! This is extremely helpful.
@CodeBand3 жыл бұрын
Happy to help😊
@Big_19923 жыл бұрын
you're the man! thank you
@CodeBand3 жыл бұрын
Very glad to hear that😊
@MohitLandge-z3r3 ай бұрын
getting error as Error: To create an app, verify your account by adding payment › information
@vishnuvs8703 жыл бұрын
i deployed my project on heroku...but after deployment the images are not working
@CodeBand3 жыл бұрын
Its not an error...its the architecture of Heroku...user uploaded files is not persistent, they will eventually be lost...In order for them to work, you need to use some file storage services like aws s3...Here is a good article showing how to do that... dev.to/aschmelyun/getting-started-with-amazon-s3-storage-in-laravel-5b6d
@vishnuvs8703 жыл бұрын
@@CodeBand thanks
@CodeBand3 жыл бұрын
@@vishnuvs870 Keep going👍🏻
@dhakatrends59303 жыл бұрын
i successfully deployed my project on heroku...but after deployment the images are not working. i find to use aws s3 i need a credit card which i don't have now. can you pls suggest something which is free of cost
@CodeBand3 жыл бұрын
As far as aws s3 is concerned, you can use a Debit Card too... I have accounts using Debit Card and I'm not pretty much if they changed their terms recently... There are alternatives to aws s3 such as Azure Blob Storage, Google Cloud Storage, Digitalocean Spaces etc...
@dhakatrends59303 жыл бұрын
@@CodeBand Thank You so much. I have a debit card. Will give it a try now. I find google cloud storage server and almost every other platform wants billing information now which is a setback for students like us
@CodeBand3 жыл бұрын
@@dhakatrends5930 Yeah... that's kind of a req. now a days... You should also try Github Students Pack for students, if you haven't already.
@Dharmendrakewat1232 жыл бұрын
fatal: 'heroku' does not appear to be a git repository fatal: Could not read from remote repository. during pushing
@CodeBand2 жыл бұрын
A typo in the command, probably.
@prottaybadhon81123 жыл бұрын
I can not commit in last step error: On branch master nothing to commit, working tree clean............please help me .I have tried more time but failed .................
@CodeBand3 жыл бұрын
You might have missed to add/commit before pushing...
@Akosiyawin3 жыл бұрын
Does it work on any file uploads? I tried it before but every time Itriied to upload a file it deletes automatically.
@CodeBand3 жыл бұрын
Heroku, by architecture doesn't support file uploads... You have to use services like AWS S3 for that...
@mohityadav-ob2ps Жыл бұрын
When i use create command it says "verify your account by adding payment information" is it not free domain now 🤦🏽🤦🏽
@easysoul7938 Жыл бұрын
is it not free anymore?
@mahasmilhar99503 жыл бұрын
initial deploy I got forbidden error not a 500|server error , I complete all the step but I got only Forbidden error can you please tell the reason?
does this hosting has limit of storage for project file?
@akshaykumarmalathkar29684 жыл бұрын
I'm getting these two errors after I run "heroku run php artisan migrate". I have followed all the steps as specified still getting the error. Please give me a solution to fix this. In Connection.php line 671: SQLSTATE[22023]: Invalid parameter value: 7 ERROR: invalid value for parameter "client_encoding": "utf8mb4" (SQL: select * from information_schema.tables where table_schema = public and table_name = migrations and table_type = 'B ASE TABLE') In PostgresConnector.php line 66: SQLSTATE[22023]: Invalid parameter value: 7 ERROR: invalid value for parameter "client_encoding": "utf8mb4"
@CodeBand4 жыл бұрын
What are the errors?
@chinavadabhawankumar31383 жыл бұрын
At last iam getting and error ,unable to push to heroku master its rejecting Can you please help me in solving it. I have messaged you in instagram too, please respond asap bro.
@CodeBand3 жыл бұрын
Sorry for the late reply... I actually didn't noticed your msg in instagram... Anyways, did you managed to fix the issue.. ?
@titofrezer62014 жыл бұрын
Database hosts array is empty. (SQL: select * from information_schema.table s where table_schema = public and table_name = migrations and table_type = 'BASE TABLE') facing these erro
@CodeBand4 жыл бұрын
This is an error when the database credentials are not passed from heroku...check in heroku->settings->config vars, an entry named DATABASE_URL. If it's not there, db(postgres/mysql) might not have set correctly.
@safayethossain35533 жыл бұрын
At first take my Thanks from my heart. I face problem to register, however i give all the information and then click to register button to register but it dose not take any action it take blur the password section and register button. please if you can suggest for this error's solution then it give me pleaser
@CodeBand3 жыл бұрын
I'm not sure why that doesn't worked.. might not be an issue with Heroku, just type in the following command in the terminal, heroku logs --tail And then try again the same registration procedure, you can see the logs for any possible error...
@hebaabdelmoneim92173 жыл бұрын
syntax error in code in 12 min when write in config that undefine url
@CodeBand3 жыл бұрын
Try to recheck the code again, it should work with the current setup...😊
@imzuyel4 жыл бұрын
It work... But if I uploaded any image in database ... After some it was missing... Any solution?
@CodeBand4 жыл бұрын
Its not an error...its the architecture of Heroku...user uploaded files is not persistent, they will eventually be lost...In order for them to work, you need to use some file storage services like aws s3...Here is a good article showing how to do that... dev.to/aschmelyun/getting-started-with-amazon-s3-storage-in-laravel-5b6d
@imzuyel4 жыл бұрын
@@CodeBand Thank you....
@CodeBand4 жыл бұрын
😊
@rajsrikantha79144 жыл бұрын
. Hi I have a problem in hosting in Heroku. The error message comes up as SECRET_KEY not be empty. Error H10 . Can you help me to sort out this problem. Could you please let me know your e-mail. I can sent the error report. Thanks
@CodeBand3 жыл бұрын
Please cross check whether you have provided SECRET_KEY as an env. variable. If so, then make an env. variable in Heroku tooo...In settings, config vars section.
@rajsrikantha79144 жыл бұрын
. HI I have problem of error H14 in Heroku. Can you help me solve the problem. No more Secret_Key problem. Thanks
@CodeBand3 жыл бұрын
You might have done something incorrectly, please cross-check the steps... Meanwhile, just check this out...devcenter.heroku.com/articles/error-codes#h14-no-web-dynos-running
@shivamsharma17174 жыл бұрын
Thank you for this great video, Can you suggest me how can I deploy local database on heroku server. I want to send my localhost database on heroku server.
@CodeBand4 жыл бұрын
Thank you... If you want to just migrate the data from local to remote heroku, just export the table from local and import in heroku postgresql. Search in google on exporting and importing tables. Hope this helps. Keep supporting... :)
@arwan074 жыл бұрын
Is it totally free of charge?
@CodeBand4 жыл бұрын
@@arwan07 Yeah, totally free... except it has some limitations... See www.heroku.com/free Thank you.
@XeaNeaX4 жыл бұрын
how to upload a picture in heroku? thats my problem
@CodeBand4 жыл бұрын
Uploading files wont work in Heroku unless you use some external services like aws s3. Here's a good article on how to integrate aws s3 with Laravel... medium.com/@sehmbimanvir/laravel-upload-files-to-amazon-s3-a17d013f53ce Thanks😊
@rikyhendrawansaputra57814 жыл бұрын
Undefined table: 7 ERROR: relation "Products" does not exist, why i got this error? i alredy run the heroku run php artisan migrate
@CodeBand4 жыл бұрын
I'm sorry for the delay...Please check the output of heroku run php artisan migrate...and also you can check the current database status (like the list of tables and all) through heroku cli or using their dataclip feature in the Postgres dashboard. See this article for dataclips : devcenter.heroku.com/articles/dataclips Please let me know if the error is resolved..thank you.. :)
hello sir good day how to fix . pictures upload deleted after several hours in heroku
@CodeBand4 жыл бұрын
Uploading files wont work in Heroku unless you use some external services like aws s3. Here's a good article on how to integrate aws s3 with Laravel... medium.com/@sehmbimanvir/laravel-upload-files-to-amazon-s3-a17d013f53ce Thanks😊
@dawnpeace91224 жыл бұрын
hi thanks nice video, but I encountered a problem where my routes other than the '/' gives me 404 But when I tried to add /index.php/routes-path its working so do you know how to remove it on heroku Thanks alot
@CodeBand4 жыл бұрын
I'm not pretty much sure why that happens, you can check logs by typing the command... heroku logs --tail Try googling out your specific problem and I'm sure you will get the solution. Keep going👍🏻
@itsmykaimusic3 жыл бұрын
database host array is empty please help
@CodeBand3 жыл бұрын
Please have a look into the link and also make sure you've followed all the steps mentioned in the tutorial... laracasts.com/discuss/channels/laravel/heroku-and-larvael-with-postgres-not-working
@hosamgnaba32053 жыл бұрын
nice, thank you
@CodeBand3 жыл бұрын
Welcome 😊
@atovan32363 жыл бұрын
I use mysql... How to config ?
@CodeBand3 жыл бұрын
As for MySQL, the config. process is a bit different. Please find the below link which will be useful.... salitha94.blogspot.com/2019/11/deploy-laravel-application-on-heroku.html
@rajsrikantha79143 жыл бұрын
. Thanks for the message. But I got this message on Error H14 When I apply "heroku ps:scale web=1" Scaling dynos... ! ! Couldn't find that process type (web). env) C:\Users\Raj\Desktop\qbike>heroku ps:scale web=2 worker=4. Scaling dynos... ! ! Couldn't find that process type (web). (env) C:\Users\Raj\Desktop\qbike>
@CodeBand3 жыл бұрын
Then, the issue is with Procfile, check the spelling of the file and the contents inside.. :)
@RelAxGamingKing773 жыл бұрын
Thank you so much! Worked perfectly, after days of searching, you Sir helped me really out. You literally are the only one who shows how to do this, thank you so much! I have a question, after run that npm run prod:build command, my frontend doesnt show me any pictures of my assets folder. Are there any solutions Sir? Thanks
@CodeBand3 жыл бұрын
npm run prod:build Things might have changed with this one as Laravel evolved with major updates... Check the Docs for more on assets.
@muhammadmughees75514 жыл бұрын
Forbidden You don't have permission to access this resource.
@CodeBand4 жыл бұрын
Please explain bro...
@rodrickee3 жыл бұрын
same thing here, can't seen to find an answer to this nowhere!
. Hi Thanks for the message. This is the details in Procfile. web: gunicorn djecommerce.wsgi. And this is the wsgi file path: C:\Users\Raj\Desktop\qbike1\djecommerce
@cineflicks87194 жыл бұрын
than you so much'
@CodeBand4 жыл бұрын
Glad it helped😊
@cineflicks87194 жыл бұрын
@@CodeBand how to put an ssl certificate sir?
@CodeBand4 жыл бұрын
@@cineflicks8719 Heroku does have built in https. You can go to your_app.herokuapp.com But, there will be some issues in https page as we need to do a slight configuration in the Laravel side which I have mentioned in the below video :) kzbin.info/www/bejne/mZvckHeqpZ6Nas0
@boknoyako60984 жыл бұрын
in this free ?
@CodeBand4 жыл бұрын
Yup, its free for lifetime although there are certain limitations like 1000 dyno hours a month and so on. Please see this article : www.heroku.com/pricing
@NIRAJKUMAR-iv7pp2 жыл бұрын
Thankyou
@CodeBand2 жыл бұрын
You’re welcome 😊
@ardixq2 жыл бұрын
cпасибо индусик
@CodeBand2 жыл бұрын
добре дошли
@clentargerototing2792 Жыл бұрын
now needs credit card
@minhchien67594 жыл бұрын
bruh calm down and take a breath :3.Pls slowly
@CodeBand3 жыл бұрын
lol...Will make it slower in future videos😊
@RooTHackera4 жыл бұрын
take a breath bro :)
@CodeBand4 жыл бұрын
Definitely, 😂
@Dharmendrakewat1232 жыл бұрын
Forbidden You don't have permission to access this resource.
@CodeBand2 жыл бұрын
Check this : stackoverflow.com/questions/47619860/laravel-5-4-on-heroku-forbidden-you-dont-have-permission-to-access-on-this-s
@htethtetaung83902 жыл бұрын
Forbidden You don't have permission to access this resource.
@CodeBand2 жыл бұрын
See this : stackoverflow.com/questions/47619860/laravel-5-4-on-heroku-forbidden-you-dont-have-permission-to-access-on-this-s
@muhammadmughees75514 жыл бұрын
Forbidden You don't have permission to access this resource.
@CodeBand4 жыл бұрын
Please give an explanation of the error bro...
@muhammadmughees75514 жыл бұрын
Bro I have faced this error when I run my app
@CodeBand4 жыл бұрын
@@muhammadmughees7551 Chances are you misspelled Procfile or the content inside it. File name is Procfile (without any extension). Content : web: vendor/bin/heroku-php-apache2 public
@mkgamingentertainment37864 жыл бұрын
Apparently you're using Windows. I got the same error as yours, but I fixed it. Try running echo web: vendor/bin/heroku-php-apache2 public/ > Procfile in your terminal. It worked for me