{"id":22835455,"url":"https://github.com/dxw/scripts-to-rule-them-all","last_synced_at":"2025-05-06T20:48:31.360Z","repository":{"id":37808547,"uuid":"280719793","full_name":"dxw/scripts-to-rule-them-all","owner":"dxw","description":"Template scripts to use in projects, based on GitHub's pattern with the same name","archived":false,"fork":false,"pushed_at":"2025-04-25T05:34:46.000Z","size":93,"stargazers_count":5,"open_issues_count":3,"forks_count":0,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-04-25T06:33:15.680Z","etag":null,"topics":["delivery-plus","internal"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/dxw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2020-07-18T18:55:54.000Z","updated_at":"2025-04-25T05:34:50.000Z","dependencies_parsed_at":"2023-12-15T13:43:04.328Z","dependency_job_id":"51b60301-2f20-41f6-9fa9-487d8bd35cf1","html_url":"https://github.com/dxw/scripts-to-rule-them-all","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/dxw%2Fscripts-to-rule-them-all","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxw%2Fscripts-to-rule-them-all/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxw%2Fscripts-to-rule-them-all/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dxw%2Fscripts-to-rule-them-all/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dxw","download_url":"https://codeload.github.com/dxw/scripts-to-rule-them-all/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252769136,"owners_count":21801373,"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":["delivery-plus","internal"],"created_at":"2024-12-12T22:09:57.962Z","updated_at":"2025-05-06T20:48:31.332Z","avatar_url":"https://github.com/dxw.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dxw's Scripts to Rule Them All\n\nTemplate scripts to use in projects, based on\n[GitHub's pattern](https://github.com/github/scripts-to-rule-them-all) with the\nsame name.\n\n## Installation\n\nFor each language or stack, we have a set of scripts. To add them to a project,\ncopy the full contents of the most appropriate folder to the root of the project\nand edit as needed. `base` is a good starting point if there's nothing more\nappropriate.\n\n## Contents\n\nThe template scripts for each language or stack assume the use of dxw's standard\ntools.\n\n### `script/bootstrap`\n\n`script/bootstrap` should install all dependencies required to develop, build,\nand run the application.\n\nThe script can assume that any macOS environment uses Homebrew for package\nmanagement and already has it installed. It can also assume that any\nnon-development environment (such as CI) will install system dependencies prior\nto running the script.\n\n### `script/setup`\n\n`script/setup` should set the application up in its initial state. If this isn't\nthe first time working on a application, that means clearing any data or build\nartefacts, to return the application to a pristine state.\n\nThis should run `script/bootstrap` as an early step.\n\n### `script/update`\n\n`script/update` should update the application to the latest configuration from\nany earlier version. This should update any dependencies and run any database\nmigrations.\n\nThis should run `script/bootstrap` as an early step.\n\n### `script/test`\n\n`script/test` should run the full test suite, including any linters. Linting\ntends to run faster than tests, so it's useful to put them first, so the suite\nfails faster.\n\nA useful pattern to support is having an optional argument, a file path or\npattern, for running a subset of the full suite.\n\nThis script should support being run in CI environments. If detection of the CI\nenvironment is required, use the presence of a `CI` environment variable.\n\nThis should run `script/update` as an early step.\n\n### `script/server`\n\nIf appropriate, `script/server` should start the application and any additional\nprocesses needed to support it.\n\nThis should run `script/update` as an early step.\n\n### `script/build`\n\nIf appropriate, `script/build` should create a production build of the\napplication.\n\nA useful pattern to support is having an optional argument to specify the target\nenvironment to build for.\n\nThis should run `script/update` as an early step.\n\n### `script/console`\n\nIf appropriate, `script/console` should open a console for the application.\n\nA useful pattern to support is having an optional argument to specify an\nenvironment, to support connecting to other environments, like staging or\nproduction. By default, it should connect to the local development environment.\n\nThis should also do any setup required to connect to the console for the given\nenvironment.\n\n### No `script/cibuild`\n\nWe choose not to use a single build script for CI, preferring instead to have\nexplicit steps in our CI configuration.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxw%2Fscripts-to-rule-them-all","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdxw%2Fscripts-to-rule-them-all","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdxw%2Fscripts-to-rule-them-all/lists"}