Best practice setup for github projects on server
- From
- Matthew Leach <m.leach@derby.ac.uk>
- Date
- Nov 23, 2015, 11:19 UTC
- Message-ID
- <8A5E5D5720EB7347BF290277F0C633F8010C7E55DFB4@MKT-MBX01.university.ds.derby.ac.uk>
Hi,
I was hoping that somebody could give me advice since I'm new to git.
I'll be installing a couple of projects from github on our servers, and adding some features.
Should I create a repository on our server (e.g. in /opt/git/), add the github project as a remote, and create a branch? Then on my local machine add our server as the remote and then pull / push with that?
On the server there will be two web directories: stable and dev. I was planning for these to be branches, and then just pull from the server repository using the local protocol.
I think it would mean sorting out merge actions on the server. I'm hoping to be able to fetch and integrate updates from the developer's github repository, but without making things more complicated than they need to be.
Does anyone have any suggestions? I drew a diagram if it helps (https://drive.google.com/file/d/0B7JhUXLbxPT9RkVNMUV6cjJNVnc/view?usp=sharing)
Thanks
Matthew
Matthew Leach BSc. PhD. PGCert. FHEA Innovation Developer
Academic Innovation Hub Room 107, Enterprise Centre, 37 Bridge Street, Derby, DE1 3LD
The University of Derby has a published policy regarding email and reserves the right to monitor email traffic. If you believe this was sent to you in error, please select unsubscribe.
Unsubscribe and Security information contact: infosec@derby.ac.uk For all FOI requests please contact: foi@derby.ac.uk All other Contacts are at http://www.derby.ac.uk/its/contacts/