{"id":14968685,"url":"https://github.com/previousnext/drupal-project","last_synced_at":"2025-04-13T22:33:12.889Z","repository":{"id":57044552,"uuid":"109802972","full_name":"previousnext/drupal-project","owner":"previousnext","description":"A template for Drupal 8 projects.","archived":false,"fork":false,"pushed_at":"2018-11-22T03:22:18.000Z","size":78,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-05T22:28:29.259Z","etag":null,"topics":["drupal","drupal8"],"latest_commit_sha":null,"homepage":"","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/previousnext.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":"2017-11-07T07:45:26.000Z","updated_at":"2024-09-02T10:35:05.000Z","dependencies_parsed_at":"2022-08-24T04:11:13.004Z","dependency_job_id":null,"html_url":"https://github.com/previousnext/drupal-project","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/previousnext%2Fdrupal-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/previousnext%2Fdrupal-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/previousnext%2Fdrupal-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/previousnext%2Fdrupal-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/previousnext","download_url":"https://codeload.github.com/previousnext/drupal-project/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248790846,"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":["drupal","drupal8"],"created_at":"2024-09-24T13:40:24.161Z","updated_at":"2025-04-13T22:33:11.007Z","avatar_url":"https://github.com/previousnext.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drupal Project\n\nUse this project as a template for working on Drupal core and contrib modules.\n\n## Requirements\n\nMost of the dev tools are in the php Docker container, but you will need one or two\nout side of that.\n\nThis includes:\n\n* PHP 7.1+\n* Git\n* and [Composer][5].\n\nIf you don't have these installed, then follow the instructions for your specific\nplatform.\n\n### MacOS\n\nDownload and install Homebrew follow the [online instructions][4].\n\nAdd the php tap:\n\n```bash\nbrew tap homebrew/homebrew-php\nbrew install git composer php71 php71-mcrypt php71-xdebug\n```\n\n### Windows\n\nTBC\n\n## Installing\n\nTo create a new project in a directory called `myproject' run the following\ncommand.\n\n```bash\ncomposer create-project --no-install -s dev previousnext/drupal-project myproject\n```\n\n## Docker\n\nYou will need to install Docker and related tools.\n\n### OS-specific Installation\n\n#### MacOS\n\nDownload and install [Docker for Mac][1]\n\n#### Windows\n\nDownload and install [Docker for Windows][2]\n\nDownload and install [Make for Windows][3]\n\n#### Linux\n\nYou know what you're doing, right?\n\n## Docker Compose\n\nDue to networking, and file system performance issues in Docker for Mac, you\nneed a slightly different docker-compose.yml file for MacOS. To simplify your\ncommands, we recommend creating an alias in `~/.bashrc` such as:\n\n```\nalias dc='docker-compose -f docker-compose.osx.yml'\n```\n\nTo start the container, run:\n\n```bash\ndc up -d\n```\n\n## Setup and Install Drupal\n\nFor simplicity, run all commands from within the php container. You can get\nshell access via:\n\n```\ndc exec app bash\n```\n\nTo initialise your local dev environment run the following:\n\n```bash\nmake install\n```\n\n## Developer Options\n\nTo set up common developer options, run:\n\n```bash\nmake devify\n```\n\n## Install a contrib module\n\nThe easiest way to install a contrib module to work on is via composer.\n\nFor example, to work on pathauto, type the following:\n\n```\ncomposer require drupal/pathauto --prefer-source\n```\n\n## Testing\n\nTo run tests, run:\n\n```bash\nmake test\n```\n\n[1]: https://www.docker.com/docker-mac\n[2]: https://www.docker.com/docker-windows\n[3]: http://gnuwin32.sourceforge.net/packages/make.htm\n[4]: https://brew.sh/\n[5]: https://getcomposer.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreviousnext%2Fdrupal-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpreviousnext%2Fdrupal-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreviousnext%2Fdrupal-project/lists"}