We are a web-based software company who currently has 2 developers and no version control system. We have decided to start using GIT and are looking for advice on implantation. We have a fairly complex setup making it difficult.
Let me outline the situation:
- We have two developers who will need to work on the same files as the same time (Will expand to more developers in the future)
- Our multi-server setup on AWS makes it extremely difficult/impossible to set up local environments for testing. Therefore, our personal "sandbox" will not be on our local machines but on our servers.
- Our app is built off 7 directories inside a root and each directory has it's own sub-domain (we have a CDN on one, sub-apps on others, and they all work together to form our marketed application)
- We need to be able to build and test code and merge into a "Development" environment that we can stage and test and once approved push to production. Obviously using GIT to track changes.
We are new to GIT and would like some advice or recommendations for setting this up. Again, looking for high-level recommendations such as "Build this repo/branch/directory" not any specific code samples at this point unless super relevant.
How would you structure this GIT environment considering these limitations, specifically developers not being able to use localhost for testing?