I have successfully launched an angular-fullstack application and especially at the beginning there are quite frequent small updates I want to make to the system. What is the best practice to do it?
Right now, this is what I do:
- SSH into ubuntu server
- Go to application's root directory
git pull
- stop the server
grunt build
- start the server in production mode
So during between step 4 and step 6, the server is down. This might not be the best way to do it.
Also, how do you handle 503 here? For SEO it is beneficial if you tell Google that the server is not available only temporarily.
Thanks for your help!
Edit: I know you can automate the steps with a continuous deployment server. But again - the downtime is there.