The more elegant way would be to use git version control and store your sites code in a repository on github or bitbucket. Then, you could make changes to the code on your computer, push those changes up to the repository, and pull those changes into the live version on the server. You can even automate this process so that when you push code up to the repo, it automatically gets updated in the server. The only problem you would have is that many shared hosting services make this sort of thing difficult. If possible, I would move away from shared hosting.
Changing & Adding New Functionalities to an Existing Laravel web site?
Hi,
I'm learning Laravel and I would like to create one simple website (blog). I'm using cPanel shared hosting. I still have not started with creating that website, but when I finish - I plan to move it to my cPanel shared host (I've never done that before, but this video looks like nice tutorial for doing that: https://www.youtube.com/watch?v=HVJlAFBrafA ).
**Anyway, here is my question: **
Suppose that I am finished with the creation of my web site, I moved it to my shared host and it can be accessed from www.example.com. People start reading my blog, leave comments there and so on.
After some time, I realized that I have to add some new functionalities to my website, to change some things and so on... What is the best way to do this? Do I need to download complete website from shared host to localhost (move all of the files, database, etc.), and then open it with some IDE (for example PhpStorm) and edit it... and then, move it back to shared host (replace all of the files/database)?
Is there some more elegant way?
Please or to participate in this conversation.