add dev web app
This commit is contained in:
@@ -10,6 +10,9 @@
|
|||||||
],
|
],
|
||||||
"qa": [
|
"qa": [
|
||||||
"hpos-qa"
|
"hpos-qa"
|
||||||
|
],
|
||||||
|
"dev": [
|
||||||
|
"hpos-dev"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,6 +30,6 @@
|
|||||||
|
|
||||||
### deploy
|
### deploy
|
||||||
|
|
||||||
firebase deploy --only hosting:dev1
|
firebase deploy --only hosting:dev
|
||||||
|
|
||||||
pyinstaller --noconfirm --noconsole -i "smi.ico" --windowed --clean hemocube.py
|
pyinstaller --noconfirm --noconsole -i "smi.ico" --windowed --clean hemocube.py
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"hosting": {
|
"hosting": {
|
||||||
"target": "qa",
|
"target": "dev",
|
||||||
"public": "build",
|
"public": "build",
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"firebase.json",
|
"firebase.json",
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ function Accuracy({ show }) {
|
|||||||
'YYYY-MM-DD'
|
'YYYY-MM-DD'
|
||||||
)}&end_date=${moment(endDate).format('YYYY-MM-DD')}`;
|
)}&end_date=${moment(endDate).format('YYYY-MM-DD')}`;
|
||||||
|
|
||||||
const url = `https://asia-south1-hpos-qa.cloudfunctions.net/performance?${queryString}`;
|
const url = `https://asia-south1-hpos-af3cc.cloudfunctions.net/performance?${queryString}`;
|
||||||
|
|
||||||
// Make a POST request using the Fetch API
|
// Make a POST request using the Fetch API
|
||||||
const response = await fetch(url, {
|
const response = await fetch(url, {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ function ExportData({ url, show }) {
|
|||||||
const [endDate, setEndDate] = useState("");
|
const [endDate, setEndDate] = useState("");
|
||||||
|
|
||||||
const fetchFile = (start_date, end_date) => {
|
const fetchFile = (start_date, end_date) => {
|
||||||
window.location.href = `https://asia-south1-hpos-qa.cloudfunctions.net/consolidation?start_date=${moment(startDate).format("YYYY-MM-DD")}&end_date=${moment(endDate).format("YYYY-MM-DD")}`;
|
window.location.href = `https://asia-south1-hpos-af3cc.cloudfunctions.net/consolidation?start_date=${moment(startDate).format("YYYY-MM-DD")}&end_date=${moment(endDate).format("YYYY-MM-DD")}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ function Registration() {
|
|||||||
setCounter(counter + 1);
|
setCounter(counter + 1);
|
||||||
axios({
|
axios({
|
||||||
method: 'post',
|
method: 'post',
|
||||||
url: "https://asia-south1-hpos-qa.cloudfunctions.net/registerUser",
|
url: "https://asia-south1-hpos-af3cc.cloudfunctions.net/registerUser",
|
||||||
data: {
|
data: {
|
||||||
"_id": id,
|
"_id": id,
|
||||||
"aadharId": "2808202300001",
|
"aadharId": "2808202300001",
|
||||||
@@ -65,7 +65,7 @@ function Registration() {
|
|||||||
setMessage("");
|
setMessage("");
|
||||||
axios({
|
axios({
|
||||||
method: 'get',
|
method: 'get',
|
||||||
url: "https://asia-south1-hpos-qa.cloudfunctions.net/clearUsers",
|
url: "https://asia-south1-hpos-af3cc.cloudfunctions.net/clearUsers",
|
||||||
withCredentials: false,
|
withCredentials: false,
|
||||||
secure: false,
|
secure: false,
|
||||||
headers: {
|
headers: {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ const Topbar = () => {
|
|||||||
>
|
>
|
||||||
<Toolbar>
|
<Toolbar>
|
||||||
<Typography variant="h6">
|
<Typography variant="h6">
|
||||||
HPOS Web - Quality / QA
|
HPOS Web - Dev
|
||||||
</Typography>
|
</Typography>
|
||||||
</Toolbar>
|
</Toolbar>
|
||||||
</AppBar>
|
</AppBar>
|
||||||
|
|||||||
@@ -3,27 +3,27 @@ import { getFirestore} from "firebase/firestore";
|
|||||||
import { initializeApp } from "firebase/app";
|
import { initializeApp } from "firebase/app";
|
||||||
import { getAnalytics } from "firebase/analytics";
|
import { getAnalytics } from "firebase/analytics";
|
||||||
|
|
||||||
// /* dev and test */
|
/* dev and test */
|
||||||
// const firebaseConfig = {
|
|
||||||
// apiKey: "AIzaSyBFl_YkJ5PMIvMY3G70313SyrqemjFnUv8",
|
|
||||||
// authDomain: "hpos-af3cc.firebaseapp.com",
|
|
||||||
// projectId: "hpos-af3cc",
|
|
||||||
// storageBucket: "hpos-af3cc.appspot.com",
|
|
||||||
// messagingSenderId: "650071678820",
|
|
||||||
// appId: "1:650071678820:web:ce50538bf46632d46c6471",
|
|
||||||
// measurementId: "G-6JHQ47S9DD"
|
|
||||||
// };
|
|
||||||
|
|
||||||
/* qa: hpos-qa */
|
|
||||||
const firebaseConfig = {
|
const firebaseConfig = {
|
||||||
apiKey: "AIzaSyCF7BNZ5vOMQIpKRi_vxquzWP5pIjcb59I",
|
apiKey: "AIzaSyBFl_YkJ5PMIvMY3G70313SyrqemjFnUv8",
|
||||||
authDomain: "hpos-qa.firebaseapp.com",
|
authDomain: "hpos-af3cc.firebaseapp.com",
|
||||||
projectId: "hpos-qa",
|
projectId: "hpos-af3cc",
|
||||||
storageBucket: "hpos-qa.appspot.com",
|
storageBucket: "hpos-af3cc.appspot.com",
|
||||||
messagingSenderId: "1004619739289",
|
messagingSenderId: "650071678820",
|
||||||
appId: "1:1004619739289:web:c3ee0c0127f0d073e5c808",
|
appId: "1:650071678820:web:ce50538bf46632d46c6471",
|
||||||
measurementId: "G-4MSTJHE64W"
|
measurementId: "G-6JHQ47S9DD"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// /* qa: hpos-qa */
|
||||||
|
// const firebaseConfig = {
|
||||||
|
// apiKey: "AIzaSyCF7BNZ5vOMQIpKRi_vxquzWP5pIjcb59I",
|
||||||
|
// authDomain: "hpos-qa.firebaseapp.com",
|
||||||
|
// projectId: "hpos-qa",
|
||||||
|
// storageBucket: "hpos-qa.appspot.com",
|
||||||
|
// messagingSenderId: "1004619739289",
|
||||||
|
// appId: "1:1004619739289:web:c3ee0c0127f0d073e5c808",
|
||||||
|
// measurementId: "G-4MSTJHE64W"
|
||||||
|
// };
|
||||||
|
|
||||||
|
|
||||||
// /* preprod */
|
// /* preprod */
|
||||||
|
|||||||
Reference in New Issue
Block a user