### Deploy Firestore Security Rules Source: https://github.com/yashkm06-dotcom/pravaahtravels/blob/main/DEPLOYMENT.md Install Firebase CLI tools and deploy security rules to the Firestore database. ```bash npm install -g firebase-tools firebase login firebase deploy --only firestore:rules ``` -------------------------------- ### Initialize Firebase Hosting Source: https://github.com/yashkm06-dotcom/pravaahtravels/blob/main/DEPLOYMENT.md Initialize the Firebase hosting configuration in the local project directory. ```bash firebase init hosting ``` -------------------------------- ### Build React Application Source: https://github.com/yashkm06-dotcom/pravaahtravels/blob/main/DEPLOYMENT.md Generate the production build of the React application. ```bash npm run build ``` -------------------------------- ### Deploy to Firebase Hosting Source: https://github.com/yashkm06-dotcom/pravaahtravels/blob/main/DEPLOYMENT.md Deploy the built static files to Firebase Hosting. ```bash firebase deploy --only hosting ``` -------------------------------- ### Configure Environment Variables Source: https://github.com/yashkm06-dotcom/pravaahtravels/blob/main/DEPLOYMENT.md Define required Firebase configuration variables in a .env file using the VITE_ prefix. ```env VITE_FIREBASE_API_KEY="YOUR_API_KEY_HERE" VITE_FIREBASE_AUTH_DOMAIN="YOUR_PROJECT_ID.firebaseapp.com" VITE_FIREBASE_PROJECT_ID="YOUR_PROJECT_ID" VITE_FIREBASE_STORAGE_BUCKET="YOUR_PROJECT_ID.firebasestorage.app" VITE_FIREBASE_MESSAGING_SENDER_ID="YOUR_SENDER_ID" VITE_FIREBASE_APP_ID="YOUR_APP_ID" VITE_FIREBASE_DATABASE_ID="(default)" # Or your named firestore database ID ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.