Files
backstage/docs/getting-started/index.md
T
Suzanne Daniels 91ae05b8ec rename img to match styleguide
Signed-off-by: Suzanne Daniels <suzanned@spotify.com>
2021-10-07 17:20:30 +02:00

4.3 KiB

id, title, description
id title description
index Getting Started Documentation on How to get started with Backstage

For most Backstage installations, installing the standalone app will bring you the best and most streamlined experience. In this guide you will:

  • Deploy Backstage Standalone with npm packages
  • Run Backstage Standalone with a SQLite in-memory database and demo content

This guide assumes a basic understanding of working on a Linux based operating system using tools like apt-get, npm, yarn, curl. Docker knowledge is also helpful for making the best use of your Backstage installation.

If you are planning to contribute plugins or the project in general, we advise you to use the Getting Started for Contributers guide to do a repository-based installation.

Prerequisites

Create your Backstage App

To install the Backstage Standalone app, we make use of npx, a tool to run Node executables straight from the registry. Running the command below will install Backstage. The wizard will create a subdirectory inside your current working directory.

npx @backstage/create-app

The wizard will ask you

  • The name of the app, which will also be the name of the directory
  • The database type to use for the backend. For this guide, you'll be using the SQLite option.

Screenshot of the wizard asking for a name for the app, and a selection menu for the database.

Run the Backstage app

When the installation is complete you can go to the application directory and start the app. The yarn dev command will run both the frontend and backend as separate processes (named [0] and [1]) in the same window.

cd my-backstage-app
yarn dev

Screenshot of the command output, with the message webpack compiled successfully.

It might take a little while, but as soon as the message [0] webpack compiled successfully appears, you can open a browser and directly navigate to your freshly installed Backstage portal at http://localhost:3000. You can start exploring the demo immediately.

Screenshot of the Backstage portal homescreen.

Congratulations! That should be it. Let us know how it went: on discord, file issues for any feature or plugin suggestions, or bugs you have, and feel free to contribute!

The most common next steps are to configure Backstage, add a plugin and moving to a more persistend database: