{"id":18031565,"url":"https://github.com/oxyc/drupal-build","last_synced_at":"2025-06-21T20:04:16.434Z","repository":{"id":1625326,"uuid":"2324028","full_name":"oxyc/Drupal-Build","owner":"oxyc","description":"A handy bash script for building a drupal site with drush","archived":false,"fork":false,"pushed_at":"2011-09-25T17:07:26.000Z","size":96,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T21:45:52.157Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/oxyc.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}},"created_at":"2011-09-04T16:54:29.000Z","updated_at":"2014-06-24T05:22:22.000Z","dependencies_parsed_at":"2022-08-28T13:01:37.775Z","dependency_job_id":null,"html_url":"https://github.com/oxyc/Drupal-Build","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oxyc/Drupal-Build","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxyc%2FDrupal-Build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxyc%2FDrupal-Build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxyc%2FDrupal-Build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxyc%2FDrupal-Build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oxyc","download_url":"https://codeload.github.com/oxyc/Drupal-Build/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxyc%2FDrupal-Build/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261186368,"owners_count":23121938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-10-30T10:09:35.797Z","updated_at":"2025-06-21T20:04:11.423Z","avatar_url":"https://github.com/oxyc.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drupal Build Script\n\nThis is a small shell script to easily automate a Drupal site build primarily using [Drush][].\nSite deployment, public key transfer etc. is planned for later.\n\n\n## What it actually does\n### -m | make\n1.  Uses Drush Make to download all desired modules and translations\n2.  Uses Drush to install Drupal with your uid1 of choice\n3.  Creates a database on localhost (As this is localhost root is passwordless, \n    change if necessary).\n4.  Opens the browser with a one-time change password link to your local site.\n\n### -d | deploy\n1.  Creates a drush alias file for dev and live servers\n2.  Sends your public key over ssh to the remote host\n3.  \u003cdel\u003eInstall drush on remote host\u003c/del\u003e\n4.  \u003cdel\u003eCreate a database and a user on remote host\u003c/del\u003e\n5.  \u003cdel\u003eTransfer the Drupal directory as well as the database\u003c/del\u003e\n\n### -s | sync\n1.  \u003cdel\u003eUse drush rsync functionality to sync directories and database\u003c/del\u003e\n\n\n## Setup\n1.  Install [Drush][] and [Drush Make]\n2.  Setup Drush Make to your liking\n2.  Create a drushrc.php file with an alias location variable\n3.  Configure the bash script to your liking, if you want your downloaded modules\n    to be installed add them in the $MODULES\\_x variables. Some basic info about the \n    dev box is required.\n4.  Add this folder to your $PATH variable\n5.  drupal -m\n\n[Drush]: http://www.drush.ws\n[Drush Make]: http://drupal.org/project/drush_make\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxyc%2Fdrupal-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foxyc%2Fdrupal-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxyc%2Fdrupal-build/lists"}