diff --git a/.firebaserc b/.firebaserc index 0dccf08..a78ff03 100644 --- a/.firebaserc +++ b/.firebaserc @@ -1,5 +1,18 @@ { "projects": { "default": "hpos-af3cc" - } -} + }, + "targets": { + "hpos-af3cc": { + "hosting": { + "dev1": [ + "hpos-dev1" + ], + "qa": [ + "hpos-qa" + ] + } + } + }, + "etags": {} +} \ No newline at end of file diff --git a/README.md b/README.md index ced62e2..ca0fb69 100644 --- a/README.md +++ b/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 diff --git a/firebase.json b/firebase.json index 340ed5b..ea808ec 100644 --- a/firebase.json +++ b/firebase.json @@ -1,5 +1,6 @@ { "hosting": { + "target": "qa", "public": "build", "ignore": [ "firebase.json",