example-backend: log info about create-app and update readme

Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
This commit is contained in:
Himanshu Mishra
2021-06-21 15:42:12 +02:00
parent 66557e61cb
commit 1e7427d3c7
2 changed files with 6 additions and 3 deletions
+1 -3
View File
@@ -6,9 +6,7 @@ The main purpose of this package is to provide a test bed for Backstage plugins
that have a backend part. Feel free to experiment locally or within your fork
by adding dependencies and routes to this backend, to try things out.
Our goal is to eventually amend the create-app flow of the CLI, such that a
production ready version of a backend skeleton is made alongside the frontend
app. Until then, feel free to experiment here!
By running the `@backstage/create-app` script, you get your own separate Backstage backend.
## Development
+5
View File
@@ -73,6 +73,11 @@ function makeCreateEnv(config: Config) {
async function main() {
const logger = getRootLogger();
logger.info(
`You are running an example backend, which is supposed to be mainly used for contributing back to Backstage. ` +
`Do NOT deploy this to production. Read more here https://backstage.io/docs/getting-started/`,
);
const config = await loadBackendConfig({
argv: process.argv,
logger,