|
280 | 280 | "accessDeniedDesc": "You don't have permission to view this page.", |
281 | 281 | "backToBlog": "Back to Blog" |
282 | 282 | }, |
| 283 | + "devSetup": { |
| 284 | + "label": "Development Setup", |
| 285 | + "title": "Firebase Setup Guide", |
| 286 | + "subtitle": "Follow these {count} steps to set up Firebase for local development. Beginner-friendly — no prior experience needed.", |
| 287 | + "step1Title": "Create a Google Account", |
| 288 | + "step1Desc": "Firebase is a Google product, so you need a Google account. If you already have a Gmail account, skip this step.", |
| 289 | + "step1Line1": "Go to: accounts.google.com/signup", |
| 290 | + "step1Line2": "Fill in your name and create a username", |
| 291 | + "step1Line3": "Set a password and verify your phone", |
| 292 | + "step1Line4": "Done! You now have a Google account", |
| 293 | + "step2Title": "Create a Firebase Project", |
| 294 | + "step2Desc": "Go to the Firebase Console and create a new project for your development environment.", |
| 295 | + "step2Line1": "Go to: console.firebase.google.com", |
| 296 | + "step2Line2": "Click \"Create a project\" or \"Add project\"", |
| 297 | + "step2Line3": "Enter project name (e.g. mmswe-dev)", |
| 298 | + "step2Line4": "Enable or skip Google Analytics", |
| 299 | + "step2Line5": "Click \"Create project\" and wait ~30 seconds", |
| 300 | + "step3Title": "Register a Web App", |
| 301 | + "step3Desc": "Inside your Firebase project, register a web application to get your credentials.", |
| 302 | + "step3Line1": "On Project Overview, click the Web icon", |
| 303 | + "step3Line2": "Enter an app nickname (e.g. mmswe-web)", |
| 304 | + "step3Line3": "Skip Firebase Hosting (uncheck it)", |
| 305 | + "step3Line4": "Click \"Register app\"", |
| 306 | + "step4Title": "Copy Firebase Config", |
| 307 | + "step4Desc": "After registering, Firebase shows your config values. Copy them — you'll need these for your .env.local file.", |
| 308 | + "step4Line1": "apiKey: \"AIzaSy...\"", |
| 309 | + "step4Line2": "authDomain: \"your-project.firebaseapp.com\"", |
| 310 | + "step4Line3": "projectId: \"your-project-id\"", |
| 311 | + "step4Line4": "storageBucket: \"your-project.firebasestorage.app\"", |
| 312 | + "step4Line5": "messagingSenderId: \"123456789\"", |
| 313 | + "step4Line6": "appId: \"1:123456789:web:abc123\"", |
| 314 | + "step4Tip": "You can find these anytime at: Project Settings → General → Your apps", |
| 315 | + "step5Title": "Enable Google Authentication", |
| 316 | + "step5Desc": "Set up Google sign-in so users can log in to the platform.", |
| 317 | + "step5Line1": "Sidebar → Build → Authentication → Get started", |
| 318 | + "step5Line2": "Click \"Sign-in method\" tab", |
| 319 | + "step5Line3": "Click \"Google\" → Toggle Enable → Save", |
| 320 | + "step5Line4": "Set your project name and support email", |
| 321 | + "step6Title": "Create Firestore Database", |
| 322 | + "step6Desc": "Firestore stores blog posts, job listings, and user data.", |
| 323 | + "step6Line1": "Sidebar → Build → Firestore Database", |
| 324 | + "step6Line2": "Click \"Create database\"", |
| 325 | + "step6Line3": "Choose location (asia-southeast1 for Myanmar)", |
| 326 | + "step6Line4": "Start in \"Test mode\" for development", |
| 327 | + "step6Line5": "Click \"Create\"", |
| 328 | + "step7Title": "Create Firebase Storage", |
| 329 | + "step7Desc": "Storage handles image uploads for blog cover photos and user avatars.", |
| 330 | + "step7Line1": "Sidebar → Build → Storage", |
| 331 | + "step7Line2": "Click \"Get started\"", |
| 332 | + "step7Line3": "Start in \"Test mode\" for development", |
| 333 | + "step7Line4": "Click \"Done\"", |
| 334 | + "step8Title": "Clone & Install the Project", |
| 335 | + "step8Desc": "Clone the MMSWE repository and install dependencies using Bun. If you already have the code cloned, just run bun install and skip to the next step.", |
| 336 | + "step9Title": "Set Up Environment Variables", |
| 337 | + "step9Desc": "Create your .env.local file and paste the Firebase config values from Step 4.", |
| 338 | + "step9Line1": "cp .env.example .env.local", |
| 339 | + "step9Line2": "# Then edit .env.local with your Firebase values:", |
| 340 | + "step9Line3": "NEXT_PUBLIC_FIREBASE_API_KEY=your-api-key", |
| 341 | + "step9Line4": "NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your-project.firebaseapp.com", |
| 342 | + "step9Line5": "NEXT_PUBLIC_FIREBASE_PROJECT_ID=your-project-id", |
| 343 | + "step9Line6": "NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your-project.firebasestorage.app", |
| 344 | + "step9Line7": "NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=123456789", |
| 345 | + "step9Line8": "NEXT_PUBLIC_FIREBASE_APP_ID=1:123456789:web:abc123", |
| 346 | + "step9Line9": "NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID=G-XXXXXXXXXX", |
| 347 | + "step10Title": "Run the Dev Server", |
| 348 | + "step10Desc": "Start the development server and open the app in your browser.", |
| 349 | + "ctaComplete": "Setup Complete!", |
| 350 | + "ctaDesc": "You're all set to develop locally with Firebase. Sign in with Google, create blog posts, and test job listings.", |
| 351 | + "ctaOpenApp": "Open Dev Server", |
| 352 | + "ctaViewGuide": "View How-to Guide" |
| 353 | + }, |
283 | 354 | "profileHero": { |
284 | 355 | "label": "Developer Directory", |
285 | 356 | "title": "Profiles", |
|
301 | 372 | "blog": "Blog", |
302 | 373 | "contactUs": "Contact Us", |
303 | 374 | "jobs": "Jobs", |
| 375 | + "devSetup": "Dev Setup", |
304 | 376 | "community": "Community", |
305 | 377 | "github": "GitHub Organization", |
306 | 378 | "facebook": "Facebook Group", |
|
0 commit comments