News for hackers. Stuff that matters.
Re:Mastering Git submodules by tinco on Friday February 20, 2015 @06:56AM (#9080032)
At work we have a git repository called the 'projectname/super-project'. Developers clone this repo, and all it contains is a pair of shell scripts and a bunch of git modules. A module for every project, it's a SaaS cluster, we have projects like 'http-frontend', 'http-backend', 'gateway', 'indexer', 'marketing-website' and some forks of open source projects we customized for our use case.

After a fresh developer has cloned the super project, they just run the `./setup` shell script and it will inform them of any dependencies their system doesn't meet and then start the docker provisioning process. All subprojects have docker containers associated with them, and we have shell scripts that launch all docker containers and link them together.

A new developer can cold provision the entire cluster on their laptop in a matter of minutes, pretty neat :)

Re:Mastering Git submodules by ericclemmons on Friday February 20, 2015 @09:08AM (#9080434)
Nice to see this post! We're dismantling a monolith and choose this exact same solution. I'm glad it's working out in the wild.