I am unsure what you mean with this step?
4- edit changes manuly for files in Gitignore
Also you are missing composer install and minifying assets. How are you running the deploy? Manually by ssh?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello guys .. I managed to deploy my very first laravel app on Digital Ocean ubuntu 20.04 server with apache2 and it is up and running and everything seems to be ok .. I am kind of very worried to mess things up and would love to hear from you how do you manage your apps once it's live.
First is there any files or things need to change because I went live ? Something in config or .env or any other files?
My current flow goes as follows; Locally:
1- develop new features locally 2- commit & push updates to Git repo
On remote: 1- Git reset hard (not always) 2- Git pull 3- run migrations 4- edit changes manuly for files in Gitignore
That's it .. what else do I need to do or stop doing .. also if you have any articles or terms or services to check , read about and learn would be of great help.
Please or to participate in this conversation.