I am new to web development, I recently started freelancing online for a few clients and got some projects lined up.
TLDR: I want an easy to manage my web dev projects (hosted on my laptop) and sync them with my webserver online.
Now here is my situation:
I have a laptop where I do my work and test it on, this laptop runs Ubuntu 10.04.
I have a VPS online, which runs CentOS, it is mainly used to upload the demo work of my projects so I can show them to my clients and blow there minds away.
My problem here is:
The time I am wasting, and the effort in uploading and updating everything I do once I am done with it on my laptop, its pretty irritating, I have to tar everything up, upload it to the server, put it in the right place, make sure all permissions are correct, upload the MySQL database, import it to the VPS, edit the config files to match the new username and password.. etc etc..
What I really want to have:
Is an easier way to do all that, I want to be able to press a button or type a command, that will automatically sync my laptop files with the right directory on my VPS. so it cant be just a simple way where it just simply uploads the files, it needs to be able to manage each project separately.
I can't wait to read your comments, hopefully someone will give me a detailed solution to what I need to do, thanks!