{"id":16362550,"url":"https://github.com/mariohernandez/drupaltraining","last_synced_at":"2026-03-13T14:32:41.574Z","repository":{"id":114870995,"uuid":"272332911","full_name":"mariohernandez/drupaltraining","owner":"mariohernandez","description":"Drupal training codebase built with DDEV.","archived":false,"fork":false,"pushed_at":"2023-07-23T20:20:05.000Z","size":50471,"stargazers_count":3,"open_issues_count":11,"forks_count":8,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-10-30T07:41:01.452Z","etag":null,"topics":["ddev","drupal"],"latest_commit_sha":null,"homepage":"https://mariohernandez.io","language":"PHP","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/mariohernandez.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}},"created_at":"2020-06-15T03:26:10.000Z","updated_at":"2024-10-18T01:57:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"1689e74a-5f31-4fc4-a738-8093680e8305","html_url":"https://github.com/mariohernandez/drupaltraining","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mariohernandez/drupaltraining","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariohernandez%2Fdrupaltraining","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariohernandez%2Fdrupaltraining/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariohernandez%2Fdrupaltraining/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariohernandez%2Fdrupaltraining/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mariohernandez","download_url":"https://codeload.github.com/mariohernandez/drupaltraining/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mariohernandez%2Fdrupaltraining/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30468311,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T11:00:43.441Z","status":"ssl_error","status_checked_at":"2026-03-13T11:00:23.173Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ddev","drupal"],"created_at":"2024-10-11T02:24:36.599Z","updated_at":"2026-03-13T14:32:41.566Z","avatar_url":"https://github.com/mariohernandez.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drupal training\nThis is a DDEV-based Drupal development environment which automates the following tasks:\n\n* Install theme-required version of node\n* Composer install to download Drupal core, modules, drush, and other dependencies\n* Import custom database for Drupal\n* Clear caches\n* Launches a fully built Drupal site\n\n## Let's start\n\n### 1. Software requirements\n* Install [Docker \u0026 DDEV-Local](https://ddev.readthedocs.io/en/stable/#installation)\n\n### 2. Clone the repo:\n```\ngit clone git@github.com:mariohernandez/drupaltraining.git\n```\n\n### 3. Build the project:\nEnsure Docker is running before proceeding.\n\n```\ncd drupaltraining\n```\n\n```\nddev start\n```\n_This will take a few minutes.  If you encounter any errors, run_ `ddev restart`\n\nDone!  🙌\n\n---\n### Login to Drupal\nhttp://drupaltraining.ddev.site/user/\n\nUsername: `admin`, password: `admin`\n\n## Working with the theme\nThe custom Drupal theme, `training_theme`, can be found in `web/themes/custom/`.  Commands to interact with the theme can be ran from anywhere whithin this project.\n\n### Install theme dependencies\n```bash\nddev nvm install \u0026\u0026 ddev nvm use\n```\n* This will install version of node declared in `.nvmrc` and will set the theme to use it.\n\n```bash\nddev npm install\n```\n* This command will install all of the theme's node dependencies (Gulp, Pattern Lab, Autoprefixer, Browsersync, eslint, sass-lint, and others).\n* These last two commands above may only be need to run once.\n\n### Build/Compile the theme\n```bash\nddev npm run build\n```\n* This command builds the entire codebase for the theme.\n* If you encountered npm errors, run `ddev npm rebuild node-sass`, and try the build command again.\n\n### Clear Drupal caches\nTo ensure Drupal is able to access all the theme's assets after building the\ntheme above, clear Drupal's caches.\n```bash\nddev drush cr\n```\n\n### Run the watch task to access Pattern Lab\n```bash\nddev npm run watch\n```\n* In addition to compiling the theme, this tasks stays running to watch for new code changes within the theme, then automatically compiles them.\n* While the watch task is running, you can access Pattern Lab by going to `https://drupaltraining.ddev.site:3000`, or port 3001 if using `http`.\n\n## Interacting with DDev\nOfficial \u003ca target=\"_blank\" href=\"https://ddev.readthedocs.io/en/stable/\"\u003eDDEV-Local docs\u003c/a\u003e.\n\n```bash\nddev poweroff\n```\n_Stop DDev if not longer using_.\n\n```bash\nddev start\n```\n_Start DDev to work on project_.\n\n```bash\nddev delete --omit-snapshot --yes\n```\n_If project is no longer needed, this will wipe everything out including database.  Use `ddev start` to rebuild project from scratch_.\n\n### Running Drush commands\n```bash\nddev drush \u003ccommand\u003e\n```\nexample: `ddev drush cr`, `ddev drush updb -y`, etc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariohernandez%2Fdrupaltraining","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmariohernandez%2Fdrupaltraining","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariohernandez%2Fdrupaltraining/lists"}