Monday, 22 May 2017

Using GIT, and PUSH to LEMP Server

Personaly this is the latest achivement so far on developing web application using Laravel.

It's so important for me to develop locally and be able to push on the server so that we can have at least a local back-up if anything happen to the server. And also we can push to another repo as well.

What I am talking about is to deploy from local to staging, and to production with Git. Well, for now just for deployment. But it's good enough because it's the same concept to push for production as well.

To gain this mastery just took me a while. Because I am catering many of the development discipline including iOS and Android. Until now just using direct coding on the server to make changes which is DANGEROUS.

Well if the website is heavily used, then something bad will happen if you are tweaking the code directly. It's definitely not an ideal solution if the website has heavy users. It's also reveal that I am not having a big website yet to go on this git-push solution yet.

Well now we are a step more ready on this area. Web system area with better management, risk strategy.

And also we be able to push into the subdomain, so that the staging has it's own subdomain before we go for full production. Which is cool as well.

To configure the subdomain we have to configure the LEMP configuration at the files. (etc/nginx/sites-available and sites-enabled) Which I am not intended to discuss more here.

So yeah, I am feeling proud for acquiring this important techniques. And let the development moving on.




No comments:

Post a Comment

Moving Out in Cyberjaya

I have been busy for weeks for moving out phase. I am moving out from terrace to a condo house also in Cyberjaya. So there is so much help...