{"id":25820507,"url":"https://github.com/webwash/drupal-bootstrap-live-demo-site","last_synced_at":"2025-02-28T09:55:16.969Z","repository":{"id":39113853,"uuid":"267223702","full_name":"WebWash/drupal-bootstrap-live-demo-site","owner":"WebWash","description":"Demo site for the Drupal live site build live stream series.","archived":false,"fork":false,"pushed_at":"2023-01-06T07:07:58.000Z","size":1198,"stargazers_count":11,"open_issues_count":35,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-26T14:05:32.331Z","etag":null,"topics":["bootstrap","drupal","examples","webwash","webwash-example"],"latest_commit_sha":null,"homepage":"https://www.webwash.net/?p=14441","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebWash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-27T04:51:45.000Z","updated_at":"2023-09-26T22:28:25.000Z","dependencies_parsed_at":"2023-02-05T14:31:28.040Z","dependency_job_id":null,"html_url":"https://github.com/WebWash/drupal-bootstrap-live-demo-site","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebWash%2Fdrupal-bootstrap-live-demo-site","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebWash%2Fdrupal-bootstrap-live-demo-site/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebWash%2Fdrupal-bootstrap-live-demo-site/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebWash%2Fdrupal-bootstrap-live-demo-site/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebWash","download_url":"https://codeload.github.com/WebWash/drupal-bootstrap-live-demo-site/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241133642,"owners_count":19915454,"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":["bootstrap","drupal","examples","webwash","webwash-example"],"created_at":"2025-02-28T09:55:16.305Z","updated_at":"2025-02-28T09:55:16.957Z","avatar_url":"https://github.com/WebWash.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drupal LIVE Site Build Demo Site\n\nThis is a demo Drupal site which was built in the [Drupal Live Site Build (Using Bootstrap)](https://www.youtube.com/playlist?list=PLL73GOh1BF-l3EoSLA9wb0888n7ybc4ER) video series.\n\n**WARNING: THIS SITE SHOULD NOT BE USED IN PRODUCTION. USE AT YOUR OWN RISK. UPGRADES WILL NOT BE SUPPORTED.**\n\n## Installation\n\nThis site can be set up in two ways: using [Lando](https://docs.lando.dev/basics/installation.html) or custom LAMP/MAMP/XAMPP.\n\n### Option 1: Set up using Lando\n\n1. Download and Install [Lando](https://docs.lando.dev/basics/installation.html).\n\n2. Clone this repository.\n\n3. Run `lando start` from within the repository.\n\n4. Run `lando install-drupal` command. This will install Drupal using the configuration files within `config/sync`.\n\n5. Then log into the site (go to `/user/login`): username: `admin` and password: `admin`.\n\n### Option 2: Set up using Custom Stack\n\n1. Clone this repository.\n\n2. Run `composer install` from within the cloned repository.\n\n3. Go open `web/sites/default/settings.local.php` and scroll to the bottom and modify the `$databases` array for custom set up\n\n```php\n$databases['default']['default'] = array (\n  'database' =\u003e 'drupal8',\n  'username' =\u003e 'root',\n  'password' =\u003e 'drupal8',\n  'prefix' =\u003e '',\n  'host' =\u003e 'localhost',\n  'port' =\u003e '3306',\n  'namespace' =\u003e 'Drupal\\\\Core\\\\Database\\\\Driver\\\\mysql',\n  'driver' =\u003e 'mysql',\n);\n```\n\nMake sure you enter in the correct database, username, password and host.\n\n4. Then install the site by running: `./vendor/bin/drush site-install -y --account-pass=admin --existing-config`\n\n6. Then log into the site (go to `/user/login`): username: `admin` and password: `admin`.\n\n## FAQs\n\n#### Q: I ran `lando install-drupal` and got the error below?\n\n```\n$ lando install-drupal\n\n // You are about to CREATE the 'drupal' database. Do you want to continue?: yes.\n\n [warning] Failed to drop or create the database. Do it yourself before installing. ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111 \"Connection refused\")\n\n [notice] Starting Drupal installation. This takes a while.\n\nIn install.core.inc line 974:\n\n  Resolve all issues below to continue the installation. For help configuring your database server, see the \u003ca href=\"https://www.drupal.org/docs/8/install\"\u003einstallation handbook\u003c/a\u003e, or contact your hosting provider.\u003cdiv class=\"item-list\"\u003e\u003cul\u003e\u003cli\u003eFailed\n   to connect to your database server. The server reports the following message: \u003cem class=\"placeholder\"\u003eSQLSTATE[HY000] [2002] Connection refused\u003c/em\u003e.\u003cul\u003e\u003cli\u003eIs the database server running?\u003c/li\u003e\u003cli\u003eDoes the database exist or does the database user hav\n  e sufficient privileges to create the database?\u003c/li\u003e\u003cli\u003eHave you entered the correct database name?\u003c/li\u003e\u003cli\u003eHave you entered the correct username and password?\u003c/li\u003e\u003cli\u003eHave you entered the correct database hostname and port number?\u003c/li\u003e\u003c/ul\u003e\u003c/li\u003e\u003c/ul\u003e\n  \u003c/div\u003e\n```\n\nA: This means that Drush can't connect to the database.\n\nOpen `web/sites/default/settings.local.php` and make sure the `$databases` array is using the credentials below:\n\n```php\n$databases['default']['default'] = array (\n  'database' =\u003e 'drupal8',\n  'username' =\u003e 'drupal8',\n  'password' =\u003e 'drupal8',\n  'prefix' =\u003e '',\n  'host' =\u003e 'database',\n  'port' =\u003e '3306',\n  'namespace' =\u003e 'Drupal\\\\Core\\\\Database\\\\Driver\\\\mysql',\n  'driver' =\u003e 'mysql',\n);\n```\n\n- database: drupal8\n- username: drupal8\n- password: drupal8\n- host: database\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebwash%2Fdrupal-bootstrap-live-demo-site","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebwash%2Fdrupal-bootstrap-live-demo-site","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebwash%2Fdrupal-bootstrap-live-demo-site/lists"}