add new multi site support
This commit is contained in:
17
.firebaserc
17
.firebaserc
@@ -1,5 +1,18 @@
|
||||
{
|
||||
"projects": {
|
||||
"default": "hpos-af3cc"
|
||||
}
|
||||
}
|
||||
},
|
||||
"targets": {
|
||||
"hpos-af3cc": {
|
||||
"hosting": {
|
||||
"dev1": [
|
||||
"hpos-dev1"
|
||||
],
|
||||
"qa": [
|
||||
"hpos-qa"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"etags": {}
|
||||
}
|
||||
18
README.md
18
README.md
@@ -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
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"hosting": {
|
||||
"target": "qa",
|
||||
"public": "build",
|
||||
"ignore": [
|
||||
"firebase.json",
|
||||
|
||||
Reference in New Issue
Block a user