Jump to content

Go Live Deployments With Global Repositories

From Parasol
Revision as of 08:58, 12 July 2016 by David Smith (talk | contribs) (Created page with "== Introduction == For some clients, we already have "global" repositories that are used for collating multiple project-specific repositories for going live on live servers....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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:

  1. Checkout the global repository (e.g. ssh://git@git.parasol-island.com/penny)
  2. Jump into the local repository on your machine (e.g. /Users/your_name/Sites/penny)
  3. Execute: git submodule add ssh://git@git.parasol-island.com/project_identifier project_identifier
  4. Commit and push the change to the git repository with a message such as "add project_identifier as a submodule"