Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
MattDHill committed Jun 20, 2024
1 parent 89c50da commit c4e5c8d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 25 deletions.
6 changes: 5 additions & 1 deletion src/packaging-guide/environment-setup.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Environment Setup

## StartOS server

You will need a StartOS server to test your package. Follow the [flashing guide](../flashing-guides/) to install StartOS on a physical device or VM.

## start-cli

<a href="[https://](https://github.com/Start9Labs/start-os/)" target="_blank">start-cli</a> is needed to interact with StartOS from the command line.
<a href="https://github.com/Start9Labs/start-os/" target="_blank">start-cli</a> is needed to interact with StartOS from the command line.

Once installed, run

Expand Down
28 changes: 4 additions & 24 deletions src/packaging-guide/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,32 +47,12 @@ npm i

### From the CLI

`start-cli install -h <host> -s <path-to-s9pk>`
```
start-cli install -h <host> -s <path-to-s9pk>
```

You can eliminate the `-h` argument by hard coding the host in your StartOS [config.yaml] file.
You can eliminate the `-h` argument by hard-coding the host in `~/.startos/config.yaml`.

### From the GUI

From the GUI of your StartOS server, go to `System > Sideload`, upload the .s9pk file, and click "Install".

~/.startos

developer.key.pem
config.yaml
cookies.json

#[arg(short = 'c', long = "config")]
pub config: Option<PathBuf>,
#[arg(short = 'h', long = "host")]
pub host: Option<Url>,
#[arg(short = 'r', long = "registry")]
pub registry: Option<Url>,
#[arg(short = 'p', long = "proxy")]
pub proxy: Option<Url>,
#[arg(long = "cookie-path")]
pub cookie_path: Option<PathBuf>,
#[arg(long = "developer-key-path")]
pub developer_key_path: Option<PathBuf>,

// makes it so you don't need to do -h for every start-cli command
host 'dev box'

0 comments on commit c4e5c8d

Please sign in to comment.