angular2-express-starter icon indicating copy to clipboard operation
angular2-express-starter copied to clipboard

Deploy to HEROKU or FIREBASE

Open kamalkech opened this issue 7 years ago • 1 comments

Your documentation need to add how can deploy this starter in heroku / firebase servers

any idea ?

kamalkech avatar Feb 18 '17 21:02 kamalkech

Install:

npm install -g firebase-tools

Create in project root: firebase.json .firebaserc

firebase.json

{
  "hosting": {
    "public": "dist"
  }
}

.firebaserc

{
  "projects": {
    "default": "yourProjectId"
  }
}

deploy it with:

firebase deploy -p ./dist

vladotesanovic avatar Feb 28 '17 21:02 vladotesanovic