Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Oct 19, 2024
1 parent 04b3d37 commit c798d32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/ButtonDownloadVersionedImage.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function ButtonDownloadVersionedImage({type}){
React.useEffect(() => {
const fetchReleases = async () => {
try {
const response = await fetch("https://api.github.com/repos/pioreactor/custopizer/releases");
const response = await fetch("https://api.github.com/repos/pioreactor/custopizer/releases?per_page=40");
if (!response.ok) {
throw new Error("Failed to fetch releases");
}
Expand Down Expand Up @@ -41,7 +41,7 @@ export default function ButtonDownloadVersionedImage({type}){
<select name="version" onChange={e => setSelectedVersion(e.target.value)} style={{ width: "100px" }}>
<option value="">version</option>
{versions.map((blob, index) => (
<option key={index} value={blob.version}>{blob.version}</option>
<option key={index} value={blob.version}>{blob.version}{index === 0 ? " (latest)" : ""}</option>
))}
</select>
<button onClick={handleDownload} disabled={selectedVersion === ''} style={{"marginLeft": "10px"}}>
Expand Down
4 changes: 2 additions & 2 deletions user-guide/01-getting-started/02-software-set-up.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Before you get started, you'll need to have the following:

We'll start your blank microSD card.

1. Download the [Pioreactor leader and worker image file](https://github.com/pioreactor/custopizer/releases/latest/download/pioreactor_leader_worker.zip).
1. Download the [Pioreactor leader and worker image file](https://github.com/pioreactor/custopizer/releases/latest/download/pioreactor_leader_worker.zip). Leave it as a zip (no need to unzip it).

:::info
What is an image file? It's a file that contains all the required software preinstalled on it, including an operating system and our custom Pioreactor software. The image will be installed on the microSD card.
Expand Down Expand Up @@ -111,7 +111,7 @@ Workers are additional Pioreactors that you can control from a single UI. Togeth

#### Step 1. Install the worker software

1. Download a *Pioreactor worker image*:
1. Download a *worker image*:

:::tip
Check the software version of your leader first (you can find that on the Updates page, or the Inventory Page, or use `pio version` on the command line). It's recommended to download the associated worker image for that same version.
Expand Down

0 comments on commit c798d32

Please sign in to comment.