{"id":15173031,"url":"https://github.com/giosil/wdrupal","last_synced_at":"2026-02-11T11:01:37.759Z","repository":{"id":44847845,"uuid":"513063942","full_name":"giosil/wdrupal","owner":"giosil","description":"Drupal modules collection","archived":false,"fork":false,"pushed_at":"2025-12-30T09:22:19.000Z","size":19156,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-02T22:22:05.646Z","etag":null,"topics":["drupal","drupal-8","drupal-9","drupal-module","drupal8"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/giosil.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2022-07-12T08:40:39.000Z","updated_at":"2025-12-30T09:22:24.000Z","dependencies_parsed_at":"2023-01-28T13:03:09.676Z","dependency_job_id":"2748f07f-7f80-49b2-afff-51a02c71fac9","html_url":"https://github.com/giosil/wdrupal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/giosil/wdrupal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giosil%2Fwdrupal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giosil%2Fwdrupal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giosil%2Fwdrupal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giosil%2Fwdrupal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giosil","download_url":"https://codeload.github.com/giosil/wdrupal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giosil%2Fwdrupal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29332292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"last_error":"SSL_read: 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":["drupal","drupal-8","drupal-9","drupal-module","drupal8"],"created_at":"2024-09-27T10:25:17.065Z","updated_at":"2026-02-11T11:01:37.725Z","avatar_url":"https://github.com/giosil.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WDrupal \n\nDrupal modules and themes collection\n\n- bsit: Drupal theme based on Bootstrap Italia\n- olm: OpenLayers module\n\t- http://localhost:8090/olm/index (Example of OpenLayers Map)\n\t- http://localhost:8090/olm/rss (Example of service proxy)\n- wux: WUX module (Bootstrap theme required)\n\t- http://localhost:8090/wux/index (Library)\n\t- wux_bsit.zip sources of wux modified for bsit\n- demo: Demo WUX GUI (WUX module required)\n\t- http://localhost:8090/demo/index (Example of WUX GUI) \n\t- http://localhost:8090/demo/map (Example of WUX OpenLayers Component)\n\n## Test\n\n`docker pull drupal`\n\n`docker run --name dew-drupal -p 8090:80 -d drupal`\n\n`docker exec -it dew-drupal /bin/bash`\n\n## Install sqlite and Drush\n\n`apt update`\n\n`apt install sqlite3`\n\n`composer require drush/drush`\n\n`drush sql:cli`\n\n```sql\n.tables\n\npragma table_info('node');\n\n.header on\n\n.mode column \n\nselect * from node;\n\nselect nid,vid,type,title from node_field_data;\n\nselect * from path_alias;\n\n.quit\n```\n\nTo export data:\n\n```sql\n.output /opt/drupal/table.sql\n\n.dump [table]\n\n.quit\n```\n\n## Modify init script\n\nThe entrypoint of Drupal container is:\n\n/usr/local/bin/docker-php-entrypoint\n\n```bash\n#!/bin/sh\nset -e\n\n# first arg is `-f` or `--some-option`\nif [ \"${1#-}\" != \"$1\" ]; then\n  set -- apache2-foreground \"$@\"\nfi\n\nexec \"$@\"\n```\n\nYou can add your init script after `set -e`. Below is an example.\n\n```bash\n# [DEW] check hosts\nif grep -q 'wdrupal.dew.org' '/etc/hosts'; then\n  echo 'wdrupal.dew.org is mapped in /etc/hosts'\nelse\n  echo 'wdrupal.dew.org is NOT mapped in /etc/hosts'\n  echo '10.2.2.2 wdrupal.dew.org' \u003e\u003e /etc/hosts\n  echo 'wdrupal.dew.org added in /etc/hosts'\nfi\n\n# [DEW] check data folder\ndata_folder=\"/data01\"\nif [ -d \"$data_folder\" ]; then\n  user_folder=$(stat -c %U \"$data_folder\")\n  if [ \"$user_folder\" = \"root\" ]; then\n    echo \"$data_folder belongs to root\"\n    echo \"change $data_folder permissions...\"\n    chmod -R a+rwx \"$data_folder\"\n  else\n    echo \"$data_folder does NOT belong to root\"\n    echo \"change $data_folder permissions...\"\n    chmod -R a+rwx \"$data_folder\"\n  fi\nelse\n  echo \"The folder $data_folder does NOT exist\"\n  echo \"create $data_folder...\"\n  mkdir -p \"$data_folder\"\n  echo \"change $data_folder permissions...\"\n  chmod -R a+rwx \"$data_folder\"\nfi\n```\n\n## Contributors\n\n* [Giorgio Silvestris](https://github.com/giosil)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiosil%2Fwdrupal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiosil%2Fwdrupal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiosil%2Fwdrupal/lists"}