Skip to content

Commit 829e575

Browse files
committed
sdk: update cloud IDE instructions
Signed-off-by: Griffin Li <[email protected]>
1 parent bcbd398 commit 829e575

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

source/sdk/cloud.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,24 @@ Press to launch a cloud development environment:
1717

1818
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/coredevices/codespaces-pebble?quickstart=1)
1919

20-
This lets you build Pebble apps without needing to install the Pebble SDK on your computer.
20+
To resume your Codespace later, visit [cloud.repebble.com](https://cloud.repebble.com).
2121

2222
## Usage
2323

24-
Your GitHub Codespace will launch into an example project with the C file already open. Press the button at the top right of the C file called "Run on Emulator." It may take a minute for this button to appear.
24+
Your Codespace will launch into an example project with the C file already open. Press the button at the top right of the C file called "Run on Emulator." It will take a minute for this button to appear.
2525

26-
You can play around with the example project. Then, once you're ready to create your own Pebble app, press the smartwatch icon on the left sidebar of VS Code and select **New Project**.
26+
Once you're ready to create your own Pebble app, press the smartwatch icon on the left sidebar of VS Code and select **New Project**.
2727

28-
Save your changes as a repository in your GitHub account by pressing the Source Control icon in VS Code's left sidebar. All the projects in your codespace will be saved in one repository.
28+
#### Save to GitHub
2929

30-
#### Import an existing project
30+
You should connect your Codespace to a GitHub repository to ensure permanent storage of your project code.
3131

32-
Press the menu icon on the top-left (three horizontal lines) and select File -> Open Folder. Make sure the pop-up prompts you to open "/workspaces/codespaces-pebble/". Press OK.
32+
To do this, press the Source Control icon in the left sidebar of VS Code, then press "Publish Branch." Approve the pop-up asking to sign in with GitHub, select your GitHub account, then select "Publish to GitHub private repository." When you make changes, you can commit and push to that GitHub repo. All projects in your codespace will be saved in one repo.
3333

34-
If there's a "build" folder in the project you want to import, delete it to speed up the upload.
34+
#### Import an existing project
3535

36-
Drag and drop your project into the pane on the left listing your files and folders. Wait for the upload to complete (you'll see a progress indicator in the bottom status bar). Then, press the Pebble icon in the left sidebar, select "Open Project", and select the project you just uploaded. You can now develop on it!
36+
In your terminal, paste `code /workspaces/codespaces-pebble`. VS Code will reload and open to that folder.
3737

38-
#### Troubleshooting
38+
If there's a "build" folder in the project you want to import, delete it to speed up the upload.
3939

40-
If you press "Run on Emulator" and see "Connection refused," press the button again.
40+
Drag and drop your project into the file list pane on the left. Wait for the upload to complete. Then, press the Pebble icon in the left sidebar, select "Open Project", and select the project you just uploaded. You can now continue developing it!

0 commit comments

Comments
 (0)