Skip to content

Commit 980f161

Browse files
samedsonjoehan
andauthored
Suggest how to run the dev app for the init prompt (#9218)
* Suggest how to run the dev app for the init prompt * Updates --------- Co-authored-by: Joe Hanley <[email protected]>
1 parent f1f95e8 commit 980f161

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/mcp/resources/guides/init_backend.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const init_backend = resource(
1919
1. Determine based on what you already know about the user's project or by asking them which of the following services is appropriate.
2020
2. Use the Firebase \`read_resources\` tool to load the guide to setup the product you choose.
2121
22-
The user will likely need to setup Firestore, Authentication, and Hosting. Read the following guides in order. Do not run the app until you have completed all 3 guides.
22+
The user will likely need to setup Firestore, Authentication, and Hosting. Read the following guides in order:
2323
1. [Firestore](firebase://guides/init/firestore): read this to setup Firestore database
2424
2. [Authentication](firebase://guides/init/auth): read this to setup Firebase Authentication to support multi-user apps
2525
3. [Firestore Rules](firebase://guides/init/firestore_rules): read this to setup the \`firestore.rules\` file for securing your database

src/mcp/resources/guides/init_firestore.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ export const init_firestore = resource(
3535
**Verification & Testing:**
3636
- Only proceed with verification after successfully running \`firebase deploy --only firestore\`
3737
- Guide the user to visit \`https://console.firebase.google.com/u/0/project/{PROJECT_ID}/firestore\` where \`{PROJECT_ID}\` is the project they're currently using (or use \`_\` if project id is unknown).
38-
- Have developers test their application functionality and verify test data appears in the console
38+
- Have developers test their application functionality and verify test data appears in the console. Using the shell, run a local version of their app for them so they can test it. To figure out how to run their app, investigate their environment.
39+
- For web apps you can check their \`package.json\` for a "start" or "dev" script
40+
- For Flutter apps, they can use \`flutter run\`
41+
- For Android apps, ask the user to run the app from Android Studio
42+
- For iOS / Apple apps, you can check their Package.swift, or read their Xcode project for the right target and use xcrun
3943
- Only proceed to the next step after confirming successful database setup and data visibility
4044
4145
**Security Configuration:**

0 commit comments

Comments
 (0)