-
Notifications
You must be signed in to change notification settings - Fork 0
Add cheatsheet. #131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add cheatsheet. #131
Conversation
cheatsheet.md
Outdated
| ## ✅ Requirements | ||
|
|
||
| - VS Code **v1.96.0 or higher** | ||
| - Algorithm file open (`.py` or `.js`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No longer needed, we switched to "New project"/"Select project" style
cheatsheet.md
Outdated
|
|
||
| ## 📦 Installation | ||
|
|
||
| 1. Install from [VS Code Marketplace](https://marketplace.visualstudio.com/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can add link to extension, not to marketplace here
cheatsheet.md
Outdated
| 1. Install from [VS Code Marketplace](https://marketplace.visualstudio.com/). | ||
| 2. Open the **Ocean Protocol** panel (left Activity Bar). | ||
| 3. Configure settings: | ||
| - **Node URL** (default provided) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They have defaults
cheatsheet.md
Outdated
| 2. Open the **Ocean Protocol** panel (left Activity Bar). | ||
| 3. Configure settings: | ||
| - **Node URL** (default provided) | ||
| - **Algorithm file** (mandatory provided) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"New project"/"Select project" style
cheatsheet.md
Outdated
| - **Node URL** (default provided) | ||
| - **Algorithm file** (mandatory provided) | ||
| - **Results folder** (mandatory provided) | ||
| - (Optional) Custom Docker image/tag |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One or other (not both)
cheatsheet.md
Outdated
|
|
||
| ## ▶️ Running a Compute Job | ||
|
|
||
| 1. Open an **algorithm file** (`.js` or `.py`). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Project style
cheatsheet.md
Outdated
| 3. Select **Results folder** | ||
| 4. In the **Ocean panel**, click **Start Compute Job**. | ||
| 5. Watch logs & job status in the **Output panel**. | ||
| 6. When finished, results file opens automatically in VS Code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They do not pop up anymore, you have the logs in output channel and a copy in results/logs
cheatsheet.md
Outdated
|
|
||
| ## ⚡ Tips | ||
|
|
||
| - **Free compute credits** available for dev/testing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Free compute does not require credits
Fixes #126
Changes proposed in this PR: