I've been developing a web app on localhost for the past few months and now I wanna keep developing it on a remote server for a more realistic environment. I have a google compute engine instance ( a remote machine with my webServer on it ) running and it takes me too much time to get my project from eclipse to my deployment server. Since I suppose this is a common use case and I'm totally new to all this I'd like some tips to speed up the process.
At the moment here are the steps I go through to get my app from localhost to the remote webServer :
- In eclipse right click on project -> Export as War
- git add, git commit, git push to get my project to git repository
- git clone on the remote google cloud machine
- Then copy the file to my destination deployment folder
This takes about 5-10 minutes to do and it seems to be a very inefficient way to do things. Especially step 2 and 3 are frustrating. While I was developing on localhost I could see the result in seconds.
How can I make the process faster ?