Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

behnampmdg3's avatar

Where is a full instructions on how to deploy a working local app to the server?

Hi;

I have a working app on local app. Now I got a nice server, connected to git and ready to push.

A lot of things go wrong without clear instructions. Composer not working properly Not sure which files to upload which to ignore etc etc

Where is a full instructions on how to deploy a working local app to the server?

Thanks

0 likes
9 replies
Utchin's avatar

Are you using a service like Envoyer?

This is my gitignore:


/node_modules
/public/hot
/public/js
/public/storage
/storage/*.key
/vendor
/public/css/app.css
/public/css/rtl.css
.env
.phpunit.result.cache
Homestead.json
Homestead.yaml
npm-debug.log
yarn-error.log
behnampmdg3's avatar

I am surprised there is no proper instructions on this. I can't even find recent videos on Laracasts series.

behnampmdg3's avatar

@SNAPEY - This is good thanks.

What I am interested in is a vidoe that explains how to do the whole .env file and git stuff plus renaming public_html on the server etc. All the details.

Please or to participate in this conversation.