{"id":14968710,"url":"https://github.com/kalwar/drupal9","last_synced_at":"2025-04-13T22:33:17.360Z","repository":{"id":47949540,"uuid":"394561814","full_name":"kalwar/drupal9","owner":"kalwar","description":"Project template that includes Drupal 9, Drush 10, Composer for drupal recommended project which can be used to develop, stage or put into production any Drupal 9 project.","archived":false,"fork":false,"pushed_at":"2021-10-06T17:55:04.000Z","size":4420,"stargazers_count":2,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T13:11:34.569Z","etag":null,"topics":["composer","docker","drupal","drupal9","drush"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kalwar.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":"2021-08-10T07:22:54.000Z","updated_at":"2023-09-25T08:31:44.000Z","dependencies_parsed_at":"2022-08-12T15:00:14.321Z","dependency_job_id":null,"html_url":"https://github.com/kalwar/drupal9","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalwar%2Fdrupal9","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalwar%2Fdrupal9/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalwar%2Fdrupal9/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalwar%2Fdrupal9/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kalwar","download_url":"https://codeload.github.com/kalwar/drupal9/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248790847,"owners_count":21162099,"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":["composer","docker","drupal","drupal9","drush"],"created_at":"2024-09-24T13:40:26.269Z","updated_at":"2025-04-13T22:33:12.346Z","avatar_url":"https://github.com/kalwar.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CI](https://github.com/kalwar/drupal9/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/kalwar/drupal9/actions/workflows/main.yml)\n\n# Project description\nThis project template includes Drupal 9, Drush 10, Composer installations for Drupal recommended Project and which can be used to develop, stage or put into production Drupal 9 project.\n\nAlso included are drush/config-extra and other utilities for CI/CD in terms of a Drupal project - site updates, database schema updates, database backups, push of databases via git, backup of files, replication of production environments and much more.\n\nThis is a terminal built environment based on the minimal install profile and the `./drush site:install minimal` command.\n\nThe thought behind this approach is to prepare the environment and tools needed to always be running an updated system with a modern proactive approach. The main goal is to have a fully automated production ready installation. Thus this project includes no modules, dependencies or themes not needed for the project beforehand, making it more manageable and minimal in terms of maintenance.\n\n## Development\n\n\n### Run with Docker\n\nFor development purposes this project can be started with:\n\n   ```sh\n   $ docker-compose up -d\n   ```\n\nDrupal 9 will be available via [localhost:9998](http://localhost:9998/)\n\nphpMyAdmin for development purposes will be available via [localhost:9999](http://localhost:9999/)\n\n#### Basic site configuration\nRename your project or set your frontpage url:\n\n- [go to your basic settings page via GUI](http://localhost:9998/admin/config/system/site-information)\n- fill in the field \"Default front page\" with `/node`\n- [visit the frontpage](http://localhost:9998/)\n\n#### Fix file and cache permissions:\n\n   ```sh\n   $ chmod 777 -R web/sites/default/files\n   ```\n\n### Using Composer\n\n#### Composer dependencies\n\nTo install modules or other dependencies strictly use Composer. Installed dependencies are locked to specific versions using the `composer.lock` file. `composer install` will install every package specified in `composer.json` with respect to the pinned versions in `composer.lock`.\n\n#### Adding dependencies\n\nUse `composer require` to add and install new packages. Alternatively add the requirement to `composer.json` and run `composer install`.\n\n   ```sh\n    $ docker-compose exec -T drupal composer require \"vendor/package:2.*\"\n   ```\n\n#### Updating dependencies\n\nWhen a version update is needed, use `composer update vendor/package`.\n\n   ```sh\n   $ docker-compose exec -T drupal composer update vendor/package\n   ```\n\nOn first run, the `composer.lock` file was generated using `composer update` without further parameters.\n\n\n### Using Drush\nRun Drush commands using - this command provides a full list of useful Drush commands:\n\n   ```sh\n   $ docker-compose exec -T drupal ./drush\n   ```\nFull list of commands in [Drush 9](https://drushcommands.com/drush-9x/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalwar%2Fdrupal9","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkalwar%2Fdrupal9","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalwar%2Fdrupal9/lists"}