Environment: VSCode
🌐💡 VSCode Online: Your Cloud Playground
Welcome to your cloud-powered dev playground!
Let’s get you connected, coding, and exploring MongoDB in style.
Quick Check: Navigate to https://<customer>.mongogameday.com/
and verify your name appears in the participant list. If it’s not there, please ask your SA before proceeding.
🔗 Step 1: Supercharge VSCode with Cline
- Launch Cline:
- Click the Cline icon in the VSCode toolbar to open the extension.
- Choose Use your own API key when prompted.
- Configure the API:
- Set API Provider to LiteLLM.
- Enter the following LiteLLM settings:
- Base URL:
http://litellm-service:4000
- API Key:
noop
- Model:
claude-4-sonnet
- Select Use Prompt Caching:
- Base URL:
- Click Let’s go!
- Save and Test:
- Click Save to apply your settings.
- Test your setup by entering a prompt in Cline (for example, ask it to tell you a joke).
🎨 Step 2: Frontend Setup
- Launch the App:
- Navigate to the Arena Portal and open the
App
- Navigate to the Arena Portal and open the
🚀 Step 3: Backend Setup
- Access VSCode Online:
Note: You can use the default customer page to access your workspace
- Go to:
https://<username>.<customer>.mongogameday.com/
- In the
Explorer
, click Open Folder and navigate to:/home/workspace/mongodb-airbnb-workshop/backend/
Click Ok.
- Go to:
- Trust the Workspace:
- When prompted:
- Click Yes, I trust the author
- Click Mark Done
- When prompted:
🔗 Step 4: Connect the MongoDB Extension (Optional)
- Grab Your Connection String:
- Open
/backend/.env
and copy your MongoDB URI:MONGODB_URI=`mongodb+srv://<username>:<password>@<cluster>.mongodb.net`/?retryWrites=true&w=majority
- Open
- Connect in VSCode:
- Click the MongoDB extension in the sidebar.
- In CONNECTIONS, hit the + and choose Connect with Connection String.
- Paste your URI and connect!
- Success Check:
- If you see your databases, you’re ready to roll!
🛠️ Troubleshooting
-
Server not starting?
Double-check your terminal commands and directory. -
Still stuck?
Ping your SA for help—no shame in asking!
✨ That’s it! You’re set to code, create, and explore.
Happy hacking!