Heroku Deployment of New RBP (react-boilerplate-cra-template)

How to deploy new react-boilerplate-cra-template

     RBP community ask for help, in order to deploy their lastest code to heroku server.

  • There are two ways to do this:

  • First way

    • run this command
      npx create-react-app --template cra-template-rb my-app
    • create a procfile
      web: npm run start:prod
      
    • run command, heroku create, using heroku cli
    • run basic git commit command
    • run git push heroku master
    • it got deployed on heroku server.
    •  demo: https://polar-peak-91443.herokuapp.com/

  • Second way:



Comments :

Post a Comment