DEV Community

Discussion on: Complete Guide To Hosting Wordpress On Heroku With SSL Certification

 
aryaziai profile image
aryaziai

By the way, did you type “heroku login” in your terminal to link your computer with your heroku account? I left that line out of the guide.

Thread Thread
 
monir06 profile image
monir06 • Edited

Thank you for your super effort. I will try vscode. One last thing to ask you, whenever I add a plugin in plugin folder then how should I connect it with main branch to use git push. Trying from the folder shows that there is no branch. And trying from the main branch shows nothing is changed. Thank you again.

Edit: I used heroku login earlier while uploading fresh wordpress. I was redirected to a browser and after successful login it returned back to the git bash terminal. After that, I didn't use login everytime as i suppose the connection isn't changed. And I could able to update wordpress also without any login.

Thread Thread
 
aryaziai profile image
aryaziai

Right on, you just need to run heroku login once so you're good. just wanted to make sure. It should already be connected to the main branch. Are you doing "CD" to go to the root folder of your app, then doing git add && git commit -m "anything" && git push ?

PS. I'm only using the master branch, never created any other branches since It's just me working on it.

Thread Thread
 
monir06 profile image
monir06

Solved the problem! Probably a .gitignore file causing me to interrupt the uploading of the plugins. Thank you!

Thread Thread
 
aryaziai profile image
aryaziai

Awesome, looking forward to your success with your new wordpress site