Skip to content

Commit 98e2b95

Browse files
authored
Update index.md
Addex "text" to code blocks with instructions to Bob
1 parent e338ba5 commit 98e2b95

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

content/posts/deploy-from-bob/index.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "From Laptop to Cloud in Minutes: Deploying with Bob and Code Engine"
3-
date: 2026-06-21
3+
date: 2026-07-02
44
description: "Using Bob to deploy an app to Code Engine"
55
tags: ["Bob", "serverless", "code engine", "AI"]
66
featureImage: "featured.jpg"
@@ -47,7 +47,7 @@ Open Bob in your development environment (VS Code, terminal, or wherever you hav
4747

4848
In Bob, type the following command:
4949

50-
```
50+
```text
5151
Install the code-engine-specialist skill in this workspace using the following command:
5252
5353
npx skills add github:IBM/CodeEngine --skill code-engine-specialist -y 2>&1 || true
@@ -65,7 +65,7 @@ Bob will:
6565

6666
Once installed, confirm the skill is available by asking Bob:
6767

68-
```
68+
```text
6969
Do you have the code-engine-specialist skill installed?
7070
```
7171

@@ -113,13 +113,13 @@ Targeted resource group Default
113113

114114
Now let's have Bob verify your authentication. Tell Bob:
115115

116-
```
116+
```text
117117
Check my IBM Cloud authentication
118118
```
119119

120120
Bob will run the verification and show you something like:
121121

122-
```
122+
```text
123123
🔐 Authentication Status Check
124124
---
125125
✅ Authenticated as: your-email@example.com
@@ -140,7 +140,7 @@ Now for the fun part—let's have Bob create a simple static website for us!
140140

141141
Tell Bob:
142142

143-
```
143+
```text
144144
Create a simple hello world static website with HTML, CSS, and JavaScript
145145
```
146146

@@ -166,7 +166,7 @@ Now comes the exciting part—deploying to the cloud!
166166

167167
Make sure you're in the directory with your website files, then tell Bob:
168168

169-
```
169+
```text
170170
Deploy this website to Code Engine
171171
```
172172

@@ -196,7 +196,7 @@ Open that URL in your browser to see your Hello World site up and running.
196196

197197
If you'd like to explore the full application configuration, logs, and scaling settings in the IBM Cloud UI, ask Bob:
198198

199-
```
199+
```text
200200
Give me a link to the code engine application details in the IBM Cloud UI
201201
```
202202

@@ -252,7 +252,7 @@ Edit your `index.html` file. For example, change the heading:
252252

253253
Simply tell Bob:
254254

255-
```
255+
```text
256256
Redeploy my website to Code Engine
257257
```
258258

@@ -269,37 +269,37 @@ The whole process takes just a few minutes!
269269
Now that you've deployed your first application, try asking Bob:
270270

271271
### View Your Application Status
272-
```
272+
```text
273273
Show me the status of my Code Engine application
274274
```
275275

276276
### Check the Logs
277-
```
277+
```text
278278
Show me the logs for hello-world-site
279279
```
280280

281281
### Scale Your Application
282-
```
282+
```text
283283
I am expecting more load. Can you increase the resources and number of instances?
284284
```
285285

286286
Bob may suggests different options, pick one and observe how Bob scales the application.
287287

288288
### Add Environment Variables
289-
```
289+
```text
290290
Add an environment variable API_KEY to my application
291291
```
292292

293293
### Set Up a Custom Domain
294-
```
294+
```text
295295
How do I configure a custom domain for my Code Engine app?
296296
```
297297

298298
Bob will guide you through each of these tasks conversationally!
299299

300300
### Delete the application
301301

302-
```
302+
```text
303303
Delete the application
304304
```
305305

@@ -327,7 +327,7 @@ Now that you've deployed your first application with Bob and Code Engine, here a
327327
Create a Node.js Express API or Python Flask application and deploy it the same way.
328328

329329
**Try this**: Tell Bob:
330-
```
330+
```text
331331
Create a simple REST API with Node.js and Express, then deploy it to Code Engine
332332
```
333333

@@ -338,15 +338,15 @@ Build an application with a frontend and backend, and deploy both to Code Engine
338338
Configure automatic deployments when you push to GitHub.
339339

340340
**Ask Bob**:
341-
```
341+
```text
342342
How do I set up automatic deployments from GitHub to Code Engine?
343343
```
344344

345345
### 4. Explore Batch Jobs
346346
Code Engine isn't just for web applications—it can run batch jobs too!
347347

348348
**Ask Bob**:
349-
```
349+
```text
350350
Show me how to run a batch job on Code Engine
351351
```
352352

@@ -378,31 +378,31 @@ If you run into issues, Bob is there to help! Here are some common scenarios:
378378

379379
### "My deployment failed"
380380
Ask Bob:
381-
```
381+
```text
382382
Why did my deployment fail? Can you help me troubleshoot?
383383
```
384384

385385
Bob will analyze the error logs and suggest solutions.
386386

387387
### "My website is slow to load"
388388
Ask Bob:
389-
```
389+
```text
390390
My website seems slow after being idle. How can I fix this?
391391
```
392392

393393
Bob will explain cold starts and help you configure min-scale if needed.
394394

395395
### "I want to see what's happening"
396396
Ask Bob:
397-
```
397+
```text
398398
Show me the logs for my application
399399
```
400400

401401
Bob will fetch and display the logs, helping you understand what's happening.
402402

403403
### "I need to change the configuration"
404404
Ask Bob:
405-
```
405+
```text
406406
I want to increase the memory for my application to 1G
407407
```
408408

0 commit comments

Comments
 (0)