{"id":15173095,"url":"https://github.com/anavarre/d9","last_synced_at":"2025-10-01T10:31:22.466Z","repository":{"id":82047700,"uuid":"244109218","full_name":"anavarre/d9","owner":"anavarre","description":"Quickly install Drupal 9 dev apps with the power of Lando","archived":true,"fork":false,"pushed_at":"2020-03-13T11:37:16.000Z","size":38,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-27T10:41:17.878Z","etag":null,"topics":["docker","drupal","drupal9","lando"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anavarre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-03-01T07:54:56.000Z","updated_at":"2022-12-24T13:09:54.000Z","dependencies_parsed_at":"2023-03-05T06:45:15.312Z","dependency_job_id":null,"html_url":"https://github.com/anavarre/d9","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"a63f3d28490b15bd8ec001ce11ead42128ffa146"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anavarre%2Fd9","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anavarre%2Fd9/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anavarre%2Fd9/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anavarre%2Fd9/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anavarre","download_url":"https://codeload.github.com/anavarre/d9/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234858829,"owners_count":18897817,"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":["docker","drupal","drupal9","lando"],"created_at":"2024-09-27T10:41:03.510Z","updated_at":"2025-10-01T10:31:17.203Z","avatar_url":"https://github.com/anavarre.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drupal 9 installer\n\n## Prerequisites\n\nMake sure the following executables are available in your system:\n\n* `docker`\n* `lando`\n* `sudo`\n\nMake sure you're only running this script against a compatible Drupal 9 branch (e.g. `9.0.x`). In doubt, clone the preferred branch like so:\n\n```\ngit clone --branch 9.0.x https://git.drupalcode.org/project/drupal.git\n```\n\n## Setup\n\n### Method 1: Add the script to your PATH\n\nCopy the `d9.py` file under e.g. `/usr/local/bin/d9` to invoke it from anywhere.\n\n### Method 2: create an alias in your .bash_aliases file\n\nAlternatively, simply create the following Bash alias in your `.bash_aliases` file to invoke the script from anywhere.\n\n```\nalias d9='path/to/d9.py'\n```\n\nDo not forget to enable those changes immediately, so you can avoid to logout or reboot.\n\n```\nsource ~/.bash_aliases\n```\n\n## Usage\n\nJust type `d9 [--install|--wipe]` in a terminal.\n\n```\nusage: d9.py [-h] (--install | --wipe)\n\nDrupal 9 installer\n\noptional arguments:\n-h, --help  show this help message and exit\n--install   Spin up a new Lando app and install Drupal\n--wipe      Reset the Git repo and destroy all Lando containers\n```\n\nNote: `sudo` is required for the `--wipe` parameter.\n\n## Useful info\n\n### Accessing the site\n\nThe site is accessible at http://drupal9.lndo.site - If you're running Apache or any other app binding to port 80, then Lando will try to bind to another port (e.g. `8000` or `8080`). Your options are thus to either free up port 80 (see below to find out how), use the automatically-assigned port or try one of the other Lando URLs such as https://drupal9.lndo.site (to prevent your browser from throwing a SSL warning, follow [this procedure](https://docs.lando.dev/config/security.html#trusting-the-ca))\n\n#### How to find out if port 80 is already in use?\n\nOn Linux, try and use the `lsof` command to check if port 80 is already in use. Here's an example with a local Apache server (`apache2` service) that will conflict with Lando's attempt to bind on port 80 by default.\n\n```\nsudo lsof -n -i :80 | grep LISTEN\napache2 20953     root    4u  IPv6 28849622      0t0  TCP *:http (LISTEN)\napache2 20958 www-data    4u  IPv6 28849622      0t0  TCP *:http (LISTEN)\napache2 20959 www-data    4u  IPv6 28849622      0t0  TCP *:http (LISTEN)\napache2 20960 www-data    4u  IPv6 28849622      0t0  TCP *:http (LISTEN)\napache2 20962 www-data    4u  IPv6 28849622      0t0  TCP *:http (LISTEN)\napache2 20965 www-data    4u  IPv6 28849622      0t0  TCP *:http (LISTEN)\n```\n\nIf you're in this situation, you might want to stop the Apache service for this session (it will start automatically again next time you reboot) and restart your Lando app like so on Linux:\n\n```\n$ sudo service apache2 stop\n$ lando restart\n```\n\nWhen Lando binds successfully to port 80 (via Docker), you should see something like this instead:\n\n```\nsudo lsof -n -i :80 | grep LISTEN\ndocker-pr 25050     root    4u  IPv6 28900587      0t0  TCP *:http (LISTEN)\n```\n\n### Credentials\n\nUse `admin` for username and `admin` for password.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanavarre%2Fd9","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanavarre%2Fd9","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanavarre%2Fd9/lists"}