1.1 KiB
1.1 KiB
id, title, description
| id | title | description |
|---|---|---|
| deployment-other | Other | Documentation on different ways of Deployment |
Deploying Locally
Try on Docker
Run the following commands if you have Docker environment
$ yarn install
$ yarn docker-build
$ docker run --rm -it -p 7000:7000 -e APP_ENV=production -e NODE_ENV=development example-backend:latest
Then open http://localhost:7000 on your browser.
Heroku
Deploying to Heroku is relatively easy following these steps.
First, make sure you have the Heroku CLI installed and log into it as well as login into Heroku's container registry.
$ heroku login
$ heroku container:login
You might also need to set your Heroku app's stack to container.
$ heroku stack:set container -a <your-app>
We can now build/push the Docker image to Heroku's container registry and
release it to the web worker.
$ heroku container:push web -a <your-app>
$ heroku container:release web -a <your-app>
With that, you should have Backstage up and running!