{"id":20329368,"url":"https://github.com/ddev/test-silverstripe","last_synced_at":"2025-07-13T07:41:47.377Z","repository":{"id":181732235,"uuid":"667196119","full_name":"ddev/test-silverstripe","owner":"ddev","description":"For testing of silverstripe integration in DDEV","archived":false,"fork":false,"pushed_at":"2023-07-17T02:31:36.000Z","size":151,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-04T12:18:36.115Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ddev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-17T00:31:17.000Z","updated_at":"2023-07-17T02:14:14.000Z","dependencies_parsed_at":"2023-07-17T03:42:51.455Z","dependency_job_id":null,"html_url":"https://github.com/ddev/test-silverstripe","commit_stats":null,"previous_names":["ddev/test-silverstripe"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ddev/test-silverstripe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddev%2Ftest-silverstripe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddev%2Ftest-silverstripe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddev%2Ftest-silverstripe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddev%2Ftest-silverstripe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ddev","download_url":"https://codeload.github.com/ddev/test-silverstripe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddev%2Ftest-silverstripe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261205520,"owners_count":23124800,"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":[],"created_at":"2024-11-14T20:10:28.146Z","updated_at":"2025-06-21T22:33:31.391Z","avatar_url":"https://github.com/ddev.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Silverstripe DDEV test repository\n\nThis repository is for the DDEV automated testing, and should not be used as a base for a real project. (Although it should work just fine).\n\n## Usage and creation of assets/artifacts\n\nTo create the artifacts needed for DDEV automated tests, the following steps need to be taken:\n\n1. Clone this repository.\n2. Run `composer install` to install the vendor related libraries.\n    1. If you want to update this repository with the latest and greatest libraries available, run `composer update`.\n3. Run `composer vendor-expose` to copy the assets (css and javascripts) to the public folder.\n4. Create a tar.gz from the resulting files in the folder where you cloned the repository to.\n    1. Easiest is to run `tar -czf silverstripe-base.tar.gz .`\n    2. WARNING: Do _not_ include a potential `.ddev` folder! If you are using DDEV to create the artifacts, ensure the folder is not included\n5. Ensure you have a functioning environment to build your database (May we suggest using DDEV?).\n6. Build the database with `vendor/bin/sake dev/build flush=all`.\n7. Export the database and tar.gz it (`tar -czf db.tar.gz db.sql`).\n\nYou now have all the artifacts needed to update the Test repository.\n\nUpdate the repository and release, with the artifacts you created.\n\n\n## Ensure it all works\n\nUpdate `ddev/pkg/ddevapps/ddevapp_test.go` at the 17th (Silverstripe) test configuration, and point the SourceURL and DBTarURL to the correct location.\n\nRun your tests for Silverstripe:\n\n`GOTEST_SHORT=17 make testpkg TESTARGS=\"-run TestDdevFullSiteSetup\"`\n\nIf there are any failures, you can either fix the issues yourself, or get in touch with the team maintaining DDEV. (In case of Silverstripe, contact @Firesphere)\n\n## About Silverstripe\n\nSilverstripe is a New Zealand based organisation, and primary developer of the Open Source CMS and Framework of the same name, with a focus on the CMS user and developer flexibility. It is largely used in governmental environments and has users in New Zealand, Australia, Canada, the Netherlands, Germany and Poland, amongst others.\n\nFor questions about Silverstripe specifically, join the [Silverstripe Users Slack channel](https://www.silverstripe.org/community/slack-signup/). Do not ask questions about Silverstripe here!\n\n# @todo\n\nAdd a .github workflow that automatically uploads the artifacts, instead of relying on a manual method.\n\n### Notes\n\nDDEV automated tests are run against Silverstripe CMS 5. Silverstripe CMS 4 works just as well, however, it's Mailer settings require a custom YML configuration.\nFor more information on using DDEV and Silverstripe's email capturing, see https://firesphere.dev/articles/ddevelopment-environment/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddev%2Ftest-silverstripe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fddev%2Ftest-silverstripe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddev%2Ftest-silverstripe/lists"}