Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dynatrace/dt-app-templates
Dynatrace App Bundle Templates
https://github.com/dynatrace/dt-app-templates
Last synced: about 21 hours ago
JSON representation
Dynatrace App Bundle Templates
- Host: GitHub
- URL: https://github.com/dynatrace/dt-app-templates
- Owner: Dynatrace
- License: apache-2.0
- Created: 2023-05-02T09:40:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-06T07:12:17.000Z (9 days ago)
- Last Synced: 2024-11-06T08:20:30.651Z (9 days ago)
- Language: TypeScript
- Size: 114 KB
- Stars: 6
- Watchers: 5
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# App Toolkit templates
## Structure
Folders directly inside the `templates` directory contain templates for the App Toolkit. The folder names are the identifier of the templates (used by the `--template` parameter when creating a new project).
## Develop the templates
To work directly with the source in the templates directory, follow these steps:
- create a `app.config.ts` file with
```typescript
import type { CliOptions } from "dt-app";const config: CliOptions = {
environmentUrl: "YOUR_ENVIRONMENT_URL",
};module.exports = config;
```- modify `package.json` and replace `"dt-app": "{{version}}"` with the current App Toolkit version. Do not commit this change!
- run `npm install` and `npm start`## Test your changes locally
```bash
npx dt-app create --environment-url YOUR_ENVIRONMENT_URL --template-dir=../cli-templates/templates/empty
```