{"id":18720458,"url":"https://github.com/dennisinteractive/polaris_drupal_project","last_synced_at":"2025-10-09T18:38:27.065Z","repository":{"id":34297400,"uuid":"175233651","full_name":"dennisinteractive/polaris_drupal_project","owner":"dennisinteractive","description":"Kickstarter to generate scaffolding code and create new websites using Polaris Profile","archived":false,"fork":false,"pushed_at":"2022-07-06T16:07:18.000Z","size":132,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":37,"default_branch":"3.x","last_synced_at":"2025-04-12T14:22:35.847Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/dennisinteractive.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":"2019-03-12T14:48:49.000Z","updated_at":"2021-10-15T14:45:24.000Z","dependencies_parsed_at":"2022-07-09T13:47:52.849Z","dependency_job_id":null,"html_url":"https://github.com/dennisinteractive/polaris_drupal_project","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/dennisinteractive/polaris_drupal_project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisinteractive%2Fpolaris_drupal_project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisinteractive%2Fpolaris_drupal_project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisinteractive%2Fpolaris_drupal_project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisinteractive%2Fpolaris_drupal_project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dennisinteractive","download_url":"https://codeload.github.com/dennisinteractive/polaris_drupal_project/tar.gz/refs/heads/3.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennisinteractive%2Fpolaris_drupal_project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001895,"owners_count":26083226,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-07T13:31:09.243Z","updated_at":"2025-10-09T18:38:27.049Z","avatar_url":"https://github.com/dennisinteractive.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Composer based Polaris installation\n\nThis project template should provide a kickstart for managing your site dependencies with [Composer](https://getcomposer.org/).\n\n## Creating new sites\n\nFirst you need to install [Composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx) and [Git](https://git-scm.com).\n\n### Creating the project:\n\n```\ncomposer create-project dennisdigital/polaris-drupal-project:^3.0.0 polaris --stability dev --no-interaction\n```\n\nIf you want to check out a different version of the profile or any contrib module:\n\n```\ncd polaris \u0026\u0026 composer require dennisdigital/polaris:dev-[BRANCH]\n```\n\nIf you want to run the docker image locally:\n\n```\ndocker run -v ./[LOCAL_FOLDER]/:/var/www/polaris --rm --name polaris -p 8080:80 -d dennisdigital/drupalci:8-apache-interactive\n```\nThis is useful when you want to work on the project and test changes locally. You can ssh inside the container and run the same commands\nas in .circleci folder.\n\n```\ndocker exec -it polaris sh\n```\n\nIf you want to see the site, browse http://localhost:8080\n\n## Running phpunit tests inside the container\n```\ncd /var/www/polaris\nvendor/bin/phpunit\n```\n\n## Installing Polaris\n\nCreate project will install Polaris into the web directory. You can now install Polaris as you would with any Drupal 8 site. See: [Drupal installation guide](https://www.drupal.org/node/1839310). The folder name should be the repo name without *-cms*: Repo name: *itpro-cms*, folder name *itpro*.\nIf you are using the Polaris Vagrant box you can run the command on /var/www/html folder. Then visit http://polaris.vm.cms.didev.co.uk.\nSee the Readme of the [Vagrant box for more info](https://github.com/dennisinteractive/polaris-ansible).\n\nInstalling the profile\n```\ncd /var/www/html/polaris\nmake site-create\n```\n\nThis will run a site installation, initialize git and export the config.\n\n## Login into site\n\nLogin into site and add an administrator account with username: admin and password: {the usual one} which can be shared with the team for development purposes.\n\n## Commit your files\n\nNow you need to commit your files. Remember to export a db dump.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdennisinteractive%2Fpolaris_drupal_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdennisinteractive%2Fpolaris_drupal_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdennisinteractive%2Fpolaris_drupal_project/lists"}