add new multi site support

This commit is contained in:
Pritimay Sarkar
2023-12-08 15:36:10 +05:30
parent 75ad2aba82
commit 5dbff78d79
3 changed files with 34 additions and 2 deletions

View File

@@ -1,5 +1,18 @@
{
"projects": {
"default": "hpos-af3cc"
}
}
},
"targets": {
"hpos-af3cc": {
"hosting": {
"dev1": [
"hpos-dev1"
],
"qa": [
"hpos-qa"
]
}
}
},
"etags": {}
}

View File

@@ -14,4 +14,22 @@
http://localhost:3000
### add target (multi site), if not already defined for that site
firebase target:apply hosting dev1 hpos-dev1
### add or change to firebase.json
"target": "dev1",
### run build
npm build
### deploy
firebase deploy --only hosting:dev1
pyinstaller --noconfirm --noconsole -i "smi.ico" --windowed --clean hemocube.py

View File

@@ -1,5 +1,6 @@
{
"hosting": {
"target": "qa",
"public": "build",
"ignore": [
"firebase.json",