How lewagon/data-analytics-setup works
This repository generates operating-system-specific Data Analytics Bootcamp setup guides and “keep current” guides, with English and Spanish variants. The main workflow loads build definitions, expands locales, resolves local or remote Markdown partials, fetches and caches their content, then renders output files with Liquid and shared constants. The README documents macOS, Windows, Linux, and VM setup choices, plus post-bootcamp maintenance guides. The graph follows the sampled Ruby runtime; build-definition details beyond their documented role are not inferred.
Main entry points: generator.rb Guide generator · build.rb Build command · builder.rb Build orchestrator · partial_cache.rb Partial cache
Components 19
Build configuration
- OS build definitions
builds - Shared constants
constants/constants.yml - Repository aliases
constants/repos.yml
Guide assembly
- Build command
build.rb - Build spec
lib/build_spec.rb - Localized build
lib/localized_build.rb - Build orchestrator
lib/builder.rb
Content and rendering
- Partial resolver
lib/partial.rb - Local partial
lib/partial/local.rb - Remote partial
lib/partial/remote.rb - Partial cache
lib/partial_cache.rb - Guide generator
lib/generator.rb - Liquid renderer
lib/generator.rb
Other components
- Guide reader
- GitHub raw content
- OS setup guides
macOS.md - Keep-current guides
macOS_keep_current.md - Localized guides
macOS.es.md - OS guide choices
README.md
Connections 21
- Guide reader → OS guide choices: chooses guide
README.md - Build command → OS build definitions: loads definitions
build.rb - Build command → Shared constants: loads constants
build.rb - Build command → Repository aliases: loads aliases
build.rb - Build command → Build orchestrator: starts build
build.rb - Build orchestrator → Build spec: expands specs
lib/builder.rb - Build spec → Localized build: creates locales
lib/build_spec.rb - Build orchestrator → Partial cache: caches partials
lib/builder.rb - Build orchestrator → Guide generator: generates guides
lib/builder.rb - Localized build → Partial resolver: resolves entries
lib/localized_build.rb - Partial resolver → Local partial: creates local
lib/partial.rb - Partial resolver → Remote partial: creates remote
lib/partial.rb - Remote partial → GitHub raw content: fetches content
lib/partial/remote.rb - Partial cache → Local partial: reads content
lib/partial_cache.rb - Partial cache → Remote partial: reads content
lib/partial_cache.rb - Guide generator → Partial cache: reads cached text
lib/generator.rb - Guide generator → Liquid renderer: renders templates
lib/generator.rb - Guide generator → Shared constants: merges variables
lib/generator.rb - Guide generator → OS setup guides: writes guides
lib/generator.rb - Guide generator → Keep-current guides: writes guides
lib/generator.rb - Guide generator → Localized guides: writes variants
lib/generator.rb