The typical steps taken while deploying a Symfony application include: 1- Upload your code to the production server; 2- Install your vendor dependencies (typically done via Composer and may be done before uploading); 3- Running database migrations or similar tasks to update any changed data structures; 4- Clearing (and optionally, warming up) your cache. A deployment may also include other tasks, such as: - Tagging a particular version of your code as a release in your source control repository; - Creating a temporary staging area to build your updated setup "offline"; - Running any tests available to ensure code and/or server stability; - Removal of any unnecessary files from the public/ directory to keep your production environment clean; - Clearing of external cache systems
It is a super post