Go Live Deployments With Global Repositories
Appearance
Introduction
For some clients, we already have "global" repositories that are used for collating multiple project-specific repositories for going live on live servers.
Example: PENNY Markt
As you can see below, we have one single global repository and many child repositories for each project.
|-- penny (global repository)
|---- penny16_int01 (project repository)
|---- penny16_int02 (project repository)
|---- penny16_int03 (project repository)
Going Live
To go live, you need to checkout the global repository and add the project repository as a "submodule" and then head over to deploybot.com and manually press the "Deploy" button for the global repository.
The process is like so:
- Checkout the global repository (e.g. ssh://git@git.parasol-island.com/penny)
- Jump into the local repository on your machine (e.g. /Users/your_name/Sites/penny)
- Execute: git submodule add ssh://git@git.parasol-island.com/project_identifier project_identifier
- Commit and push the change to the git repository with a message such as "add project_identifier as a submodule"