Code Deployment
Theres many ways to deploy code to a server, the easiest is to simply replace/add/remove files manually on the server. This can be a huge hassle and a security issue if not done correctly or simply if the application is big.
So then theres the way we do it at ORCA which is basically semi-automatic. A zip package is uploaded to the server and a script is used to, unpack the code, run the migrations, set variables. Whatever you need it to do. This is already better than doing it manually but still takes a while to do usually.
The best way is automated deployments. This requires a decently difficult setup of your repository and server, but when set up, you can make it so a certain branch or certain tags, are automatically deployed to a server when a push is made or a tag released. This makes it so that the server is always up to date with the code, and allows for easier deployments (simply merging into the branch that is deployed). This does however also come with its downsides, because any code put on that branch is immediately deployed, so its easier to make a mistake. It might also be a hassle to do hotfixes etc.
