You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/sdk/cloud.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,24 +17,24 @@ Press to launch a cloud development environment:
17
17
18
18
[](https://codespaces.new/coredevices/codespaces-pebble?quickstart=1)
19
19
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).
21
21
22
22
## Usage
23
23
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.
25
25
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**.
27
27
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
29
29
30
-
#### Import an existing project
30
+
You should connect your Codespace to a GitHub repository to ensure permanent storage of your project code.
31
31
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.
33
33
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
35
35
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.
37
37
38
-
#### Troubleshooting
38
+
If there's a "build" folder in the project you want to import, delete it to speed up the upload.
39
39
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