{"id":51330415,"url":"https://github.com/magebitcom/hyva-course-boilerplate","last_synced_at":"2026-07-01T22:30:29.664Z","repository":{"id":368682893,"uuid":"1286297146","full_name":"magebitcom/hyva-course-boilerplate","owner":"magebitcom","description":"Ready-to-run dockerized Magento 2 + Hyvä boilerplate for Magebit Academy newcomers (Hyvä Learning Module).","archived":false,"fork":false,"pushed_at":"2026-07-01T19:15:44.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-07-01T19:19:15.359Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"VCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magebitcom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-01T16:27:02.000Z","updated_at":"2026-07-01T19:15:45.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/magebitcom/hyva-course-boilerplate","commit_stats":null,"previous_names":["magebitcom/hyva-course-boilerplate"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/magebitcom/hyva-course-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magebitcom%2Fhyva-course-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magebitcom%2Fhyva-course-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magebitcom%2Fhyva-course-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magebitcom%2Fhyva-course-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magebitcom","download_url":"https://codeload.github.com/magebitcom/hyva-course-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magebitcom%2Fhyva-course-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35025980,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-01T02:00:05.325Z","response_time":130,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-07-01T22:30:28.995Z","updated_at":"2026-07-01T22:30:29.651Z","avatar_url":"https://github.com/magebitcom.png","language":"VCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hyvä Course Boilerplate\n\nA ready-to-run, **dockerized** Magento 2 + Hyvä setup for the **Hyvä Learning Module**. It ships the company-standard magebit-docker infrastructure (Traefik, ECR images) and the `d/` command wrappers, so you start on the same setup we use on real projects instead of a bare host.\n\nNo Magento code is committed — it's pulled with Composer from the committed `composer.json` / `composer.lock` (Magento 2.4.7-p3 + Hyvä default theme). This repo provides the Docker layer, the `d/` wrappers, the composer manifest, and a `make` pipeline.\n\n---\n\n## Prerequisites (once per machine)\n\n1. **magebit-docker** installed, and this project registered so Traefik serves `magebit-hyva-course.docker`. In your magebit-docker install add it to `projects.yml`:\n   ```yaml\n   projects:\n     - magebit-hyva-course\n   ```\n   then generate the cert: `make certs-linux` (or `certs-osx` / `certs-wsl`).\n   → New to this? See Coda: [Dockerize your first project](https://coda.io/d/_dvWq9UAfB3w/Dockerize-your-first-project_suenx3Fs).\n2. **AWS CLI** configured + ECR login (to pull the Docker images).\n3. **Composer credentials — set globally, never in this repo** (they live in `~/.composer/auth.json`):\n   ```bash\n   composer config --global --auth http-basic.repo.magento.com \u003cpublic-key\u003e \u003cprivate-key\u003e\n   composer config --global --auth http-basic.hyva-themes.repo.packagist.com token \u003chyva-access-key\u003e\n   ```\n   Get the keys from the person running the course (shared course Hyvä key + Magento keys). The Hyvä theme is free/open source; you still need the free access key.\n\n---\n\n## Quick start\n\n```bash\nmake build\n```\n\nOne command: start the stack → `composer install` → install Magento (dev store) → sample data → activate the Hyvä theme → build Tailwind → reindex. When it finishes, open **https://magebit-hyva-course.docker/** (the admin URL is printed by the installer). Run `make help` to see every target.\n\nDefault admin login: `admin` / `Admin123!`.\n\n---\n\n## Working on the course\n\nBranch off `master` as `feature/HC-\u003cyour-number\u003e` and work there — you'll open a PR from it for review. `master` is protected (PRs only).\n\n```bash\ngit checkout -b feature/HC-123\n```\n\nNew to branching / git flow? See Coda: [Git usage and deployments](https://coda.io/d/_dvWq9UAfB3w/Git-usage-and-deployments_suGsI5xv).\n\nWhen you create your own child theme, point `d/node-tailwind` at it (edit the `THEME_TAILWIND` line) and run the watcher while you work:\n```bash\nd/node-tailwind run watch\n```\n\n---\n\n## Commands\n\n**`d/` wrappers** (run everything through these, not the host):\n\n| Command | Purpose |\n|---|---|\n| `d/magento …` | `bin/magento` in the PHP container |\n| `d/composer …` | Composer |\n| `d/npm …` / `d/node …` | npm / node |\n| `d/node-tailwind run watch\\|build` | Tailwind build in your child theme |\n| `d/mysql` | MySQL shell |\n| `d/phpcs` / `d/phpstan` | code standards (set up per project) |\n\n**`make` targets:** `build` (full pipeline), `up`, `down`, `composer`, `magento-install`, `sampledata`, `theme`, `tailwind`, `reindex`.\n\n---\n\n## Notes\n\n- Runs in **developer mode** — no static-content deploy needed.\n- **Varnish** is the full-page cache. `d/magento cache:flush` purges it (http_cache_hosts is set on install), so template changes show without restarting Varnish. Tailwind changes need the watcher (`d/node-tailwind run watch`).\n- **Search** uses OpenSearch (the `opensearch` engine — correct for OpenSearch 2.x).\n- Sample data has **no sales orders** — for the My Account order-grid task, place a couple of test orders via checkout.\n- Production/CI credentials are provided via env/secrets, never committed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagebitcom%2Fhyva-course-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagebitcom%2Fhyva-course-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagebitcom%2Fhyva-course-boilerplate/lists"}