From 81ff7ca6c89b6f4c4b4d22c9d5ea3a67a7ddd27d Mon Sep 17 00:00:00 2001 From: Taufik Sulaeman P Date: Thu, 21 May 2020 23:14:34 +0700 Subject: [PATCH] 1. Installation Instruction --- README.md | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 68a3281..b7cbaef 100644 --- a/README.md +++ b/README.md @@ -8,4 +8,30 @@ Integrated Development Environment for build Progressive Web Application (PWA) b ```sh npm install -g yarn yarn global add serve -``` \ No newline at end of file +``` + +## Publish (Firebase) +1. Open cmd/terminal on your computer. +2. Install firebase tools using bellow command. +```sh +npm install -g firebase-tools +``` +3. Login to firebase user cmd/terminal on your computer. +```sh +firebase login +``` +4. Open Your Project on Pro7. +5. Access Terminal from your Project on Pro7. +6. Registering your app to firebase using bellow command. +```sh +firebase init +``` +7. Choose Hosting +8. Answer question with the example below. +```sh +? What do you want to use as your public directory? www +? Configure as a single-page app (rewrite all urls to /index.html)? Yes +? File www/index.html already exists. Overwrite? No +``` +9. Klik Firebase Deploy from your Project on Pro7. +10. Access the link show on your Project Terminal. \ No newline at end of file