{"id":25411318,"url":"https://github.com/koksmat-com/devadm-powershell-template","last_synced_at":"2025-04-14T08:27:53.092Z","repository":{"id":276443003,"uuid":"919302851","full_name":"koksmat-com/devadm-powershell-template","owner":"koksmat-com","description":"This repository is a template that you can use to developed and debug PowerShell locally and and execute globally as GitHub actions. We recommend that you run this using GitHub code spaces.","archived":false,"fork":false,"pushed_at":"2025-02-08T08:35:33.000Z","size":106,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T10:17:03.571Z","etag":null,"topics":["powershell"],"latest_commit_sha":null,"homepage":"https://www.koksmat.com","language":"PowerShell","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/koksmat-com.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-20T06:27:35.000Z","updated_at":"2025-02-08T08:35:32.000Z","dependencies_parsed_at":"2025-02-08T09:30:45.791Z","dependency_job_id":"4ce77860-233f-4822-b02a-ec4aa33c61ac","html_url":"https://github.com/koksmat-com/devadm-powershell-template","commit_stats":null,"previous_names":["koksmat-com/devadm-powershell-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koksmat-com%2Fdevadm-powershell-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koksmat-com%2Fdevadm-powershell-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koksmat-com%2Fdevadm-powershell-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koksmat-com%2Fdevadm-powershell-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koksmat-com","download_url":"https://codeload.github.com/koksmat-com/devadm-powershell-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248845131,"owners_count":21170707,"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":["powershell"],"created_at":"2025-02-16T10:17:07.206Z","updated_at":"2025-04-14T08:27:52.900Z","avatar_url":"https://github.com/koksmat-com.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Develop, debug and Run PowerShell\n\nThis repository is a template that you can use to developed and debug PowerShell locally and and execute globally as GitHub actions. We recommend that you run this using GitHub code spaces.\n\n## Version history\n\n2025 02 08 Added .koksmat/web containing a Nextjs app with Shadcn prepared\n\n## File and folder names\n\nI recommend that you organise your scripts so that there for each use cases is a folder with a relevant name, prefix folder names with numbers to control the order.\n\n## Configuration Management\n\nEnvironment variables are used as the single source for all types of configurations, the variable can contain confidential information.\n\nWhen developing and debugging, you store environment variables in a local file called `.env`- We have made a helper function which can read the .env file from the current folder and up trough the file system, so that you can have multiple `.env\n\n## Documentation\n\nAll folders shall have a `README.md` file describing the content of the folder, so feel free and navigate through the different folder. Suggest you do this directly in GitHub as that will make GitHub render the README.md file.\n\n## Content of template\n\nThe template initial had this content\n\n```\ntree -ad\n.\n├── .devcontainer\n├── .github\n│   └── workflows\n├── .koksmat\n│   ├── pwsh\n│   │   └── connectors\n│   │       ├── application\n│   │       ├── azure-storage\n│   │       ├── exchange\n│   │       ├── github\n│   │       ├── graph\n│   │       ├── hexatown\n│   │       ├── magic-mix\n│   │       └── sharepoint\n│   └── workdir\n├── .oldscripts\n├── .vscode\n└── demo\n\n```\n\nLet me explain:\n\n## Folder structure\n\n### .devcontainer\n\nStores information related to the configuration of at Code Space\n\n### .github\n\nStores information related to the configuration of GitHub features, here we use `workflows`\n\n### .koksmat\n\nContains stuff provided by `koksmat`\n\nThere is 2 subfolders in play - `.koksmat/connectors` containing a folder for each type of connector and `.koksmat/workdir` which is use a a well known directory for temporary file storage. This folder is excluded from being stored in git by being defined in a `.gitgnore`.\n\n### .oldscripts\n\nA folder where you should place your legacy scripts. The reason for prefixing the folder name with a `.` is that this on none Windows environments is the way to make a file hidden. This for prepare to extracting scripts to a documentation tool excluding old scripts.\n\n### .vscode\n\nUse for configuring features in Visual Studio Code\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoksmat-com%2Fdevadm-powershell-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoksmat-com%2Fdevadm-powershell-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoksmat-com%2Fdevadm-powershell-template/lists"}