Giter Club home page Giter Club logo

backstage's Introduction

Hit the Star!

You can use this repo for build and develop backstage, please hit the star. Thanks!

Backstage

Instructions on How to Deploy Backstage App in Ubuntu 20.04

Note :- Please try this step on freshly installed ubuntu O/S and Clone this repo

7007 is port number for backend 
3000 is port number for frontend 

Installing Docker, Nodejs 18, NPM

Note :- Nodejs 16 or 18 version is only support

1. sudo apt install –y docker.io
2. curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - && sudo apt-get install -y nodejs
    OR
   curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
   sudo apt-get install -y nodejs
3. sudo npm install --global yarn
   npm install -g [email protected]

To verify version

4. node --version
5. yarn --version 
6. nvm --version 
7. npm version (nvm list, which nvm) 

To setup/install backstage app

8. npx @backstage/create-app@latest 

Go inside the Backstage App

9. cd Backstage-app 

Creating a new files inside backstage-app folder

Note :- all this 3 files can be copied/paste from this same repo inside deploy-app folder

10. nano Dockerfile       (we are using from Multi-stage Build Image) 
11. nano app-config.yaml 
12. nano .dockerignore 

Running and creating docker image

13. yarn install 
14. yarn build:backend 
15. yarn build-image --tag rashidmd/backstage:1.0.0 
16. docker image build -t rashidmd/backstage:1.0.0 . 

Pusing docker image to Docker Hub

17. docker login
18. docker push rashidmd/backstage:1.0.0 

UNINSTALL NODEJS, NPM

   1. sudo apt-get remove nodejs 
   2. sudo apt-get remove npm 
   3. sudo rm /etc/apt/sources.list.d/nodesource.list  
   4. sudo rm -rf /home/ubuntu/.npm 
   5. sudo apt purge --autoremove nodejs npm

For Installation in Minikube

1. sudo apt install docker.io
2. sudo usermod -aG docker $USER && newgrp docker
3. curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_latest_amd64.deb
4. sudo dpkg -i minikube_latest_amd64.deb
5. minikube start
6. kubectl get po -A
7. minikube kubectl -- get po -A
8. alias kubectl="minikube kubectl --"

I have tested above all steps it just deploy backstage app in kubernetes cluster whethers its EKS, AKS, GKE.

HERE IS SCREENSHOT

  1. image

  2. image

backstage's People

Contributors

mohdrashid01 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.