Develop website locally and push updates on Remote Server using Git
- by John
Together with a friend we are looking to develop a website (using Symfony2). We are on a Shared Hosting with SSH access.
Below is the environment we'd like to setup:
* Use git as Version Control (we are new to Git)
* Share the tasks and develop on our local machines
* Push the updates onto the remote server
Here's our initial thoughts on how to do it (assuming Git is already running both locally and remotely):
* Install Symfony on the Remote Server (basic setup)
* Get a clone (using Git) of the project locally
* Develop project locally and push updates (using Git) on the remote server
Does this approach make sense, if not, any recommendations?
Thanks