feat(cli): Add a command to ensure all necessary tools are installed to run Backstage locally
See original GitHub issueFeature Suggestion
Running a Backstage app locally needs a few things installed in your local computer, yarn
and node
being just a few of them. Since Backstage apps are platforms on which developers contribute, we need to ensure that it’s easy for them to run Backstage locally.
There should be a command in backstage-cli
, which they can run as part of “getting started” to ensure that they have all the necessary tools for running a Backstage app, installed in their system.
Possible Implementation
- Add a command here https://github.com/backstage/backstage/tree/master/packages/cli/src/commands which uses some “command-exists” library to make sure few executables are installed. And optionally prints out installation instructions in console.
- Update the root
package.json
in the create-app template as well as backstage/backstage repository to add this command as a script.
Context
https://github.com/backstage/backstage/pull/5152/files had started this discussion long time ago. https://github.com/backstage/backstage/pull/6477 just now, pushed me into creating this issue.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Commands · Backstage Software Catalog and Developer ...
This page lists all commands provided by the Backstage CLI, what they're for, and where to use them. help. This command displays a...
Read more >Add a backend:bundle command to the CLI #3347 - GitHub
This ensures that the resulting backend image only contains backend dependencies and built code. It also avoid installation of development ...
Read more >OpenAM 13.5 > Administration Guide - ForgeRock Backstage
This guide is written for access management designers and administrators who build, deploy, and maintain OpenAM services for their organizations.
Read more >backstage-cli - npm
Run yarn to install dependencies. Run yarn build:watch to start auto-compiling TypeScript code changes. Keywords. none ...
Read more >"cargo-build-bpf" Bad CPU type in executable
https://docs.solana.com/cli/install-solana-cli-tools; adding this to ~/.zshrc file. export solana=/Users/reasje/.local/share/solana/install/active_release/ ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@OrkoHunter I want to work on this.
Closing in favor of #6519