This is an example HTML Project deploy with firebase
<h2>ข้อมูลส่วนตัว</h2>
<div class="content1 content-details">
<h3 style="margin-top: 5px;">
รหัสนักศึกษา: xxxxxxxxx-x
</h3>
</div>
<div class="content2 content-details">
<h3 style="margin-top: 5px;">
ชื่อ: Mr.Edward Newgate
</h3>
</div>
<div class="content3 content-details">
<h4 style="margin-top: 5px;">
จบจากโรงเรียน: New World High School
</h4>
</div>
<div class="content4 content-details">
<h4 style="margin-top: 5px;">
คติประจำใจ: ชายผู้ที่แข็งแกร่งที่สุดในโลก
</h4>
</div>
<div class="img-content" style="padding: 0 0 20px 0;">
<h1>รูปภาพ</h1>
<img style="border-radius: 10px;" width="240" height="256" src="img/Edward_Newgate.webp" alt="">
</div>
your website ready to deploy to firebase!!. before that you need to download and install nodejs first
Download Nodejs: Nodejs
Command: npm i firebase-tools
Command: firebase login
if you get error code on this process you can type this command to fix it: Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
after that you can continue to next process
Command: firebase init
######## #### ######## ######## ######## ### ###### ########
## ## ## ## ## ## ## ## ## ## ##
###### ## ######## ###### ######## ######### ###### ######
## ## ## ## ## ## ## ## ## ## ##
## #### ## ## ######## ######## ## ## ###### ########
You're about to initialize a Firebase project in this directory:
C:\Users\armyc\Documents\HTML With Firebase
? Are you ready to proceed? (Y/n) Type: Y
( ) Realtime Database: Configure a security rules file for Realtime Database and (optionally) provision default instance
( ) Firestore: Configure security rules and indexes files for Firestore
( ) Functions: Configure a Cloud Functions directory and its files
>(*) Hosting: Configure files for Firebase Hosting and (optionally) set up GitHub Action deploys
( ) Hosting: Set up GitHub Action deploys
( ) Storage: Configure a security rules file for Cloud Storage
( ) Emulators: Set up local emulators for Firebase products
=== Project Setup
First, let's associate this project directory with a Firebase project.
You can create multiple project aliases by running firebase use --add,
but for now we'll just set up a default project.
? Please select an option: (Use arrow keys)
> Use an existing project
Create a new project
Add Firebase to an existing Google Cloud Platform project
Don't set up a default project
? Please select an option: Use an existing project
? Select a default Firebase project for this directory: (Use arrow keys)
> chawakorn-dev (Chawakorn Dev)
natithorn-website (Natithorn-website)
=== Hosting Setup
Your public directory is the folder (relative to your project directory) that
will contain Hosting assets to be uploaded with firebase deploy. If you
have a build process for your assets, use your build's output directory.
? What do you want to use as your public directory? (public) Deploy
=== Hosting Setup
Your public directory is the folder (relative to your project directory) that
will contain Hosting assets to be uploaded with firebase deploy. If you
have a build process for your assets, use your build's output directory.
? What do you want to use as your public directory? Deploy
? Configure as a single-page app (rewrite all urls to /index.html)? (y/N)
? What do you want to use as your public directory? Deploy
? Configure as a single-page app (rewrite all urls to /index.html)? Yes
? Set up automatic builds and deploys with GitHub? (y/N)
type: firebase deploy
Project Console: https://console.firebase.google.com/project/chawakorn-dev/overview
Hosting URL: https://chawakorn-dev.web.app
this is a url of your website Hosting URL: https://chawakorn-dev.web.app
Email: Chawakorn.n@kkumail.com Discord: ♥ E = 𝓡𝓸𝓼𝓲𝓷𝓪𝓷𝓽𝓮² ♥:7038 Line id: https://line.me/ti/p/8REPWwkOuM