main: update documentation
This commit is contained in:
parent
c91d05c329
commit
289459dcf6
19
README.md
19
README.md
|
@ -8,25 +8,28 @@ See [the wiki here](https://forgejo.isvery.ninja/xrsh/xrsh/wiki/Home#milestones)
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
> NOTE: installation not needed, just surf to the public version [here](https://coderofsalvation.github.io/xrsh)
|
> NOTE: installation is optional: just surf to the public version [here](https://coderofsalvation.github.io/xrsh)
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>install using nix</summary>
|
||||||
|
|
||||||
|
1. run `nix-run -p xrsh --run "xrsh.com"` (pass `-p XXXX` to specify non-default 8080 port )
|
||||||
|
2. build it when package does not exist: `nix-build -E "with import <nixpkgs> { }; callPackage ./xrsh.nix"`
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>install without nix</summary>
|
||||||
1. Download [xrsh.com](https://forgejo.isvery.ninja/xrsh/xrsh/raw/branch/main/xrsh.com)
|
1. Download [xrsh.com](https://forgejo.isvery.ninja/xrsh/xrsh/raw/branch/main/xrsh.com)
|
||||||
2. optional: run `unzip xrsh.com` to verify repository contents
|
2. optional: run `unzip xrsh.com` to verify repository contents
|
||||||
3. run `chmod +x xrsh.com` in your console
|
3. run `chmod +x xrsh.com` in your console
|
||||||
4. run `./xrsh.com`
|
4. run `./xrsh.com`
|
||||||
5. Profit! ✔
|
5. Profit! ✔
|
||||||
|
</details>
|
||||||
|
|
||||||
The browser auto-launches `https://localhost:8080` on most platforms
|
The browser auto-launches `https://localhost:8080` on most platforms
|
||||||
|
|
||||||
> pass `-p XXXX` to specify port (default:8080)
|
> pass `-p XXXX` to specify port (default:8080)
|
||||||
|
|
||||||
<details>
|
|
||||||
<summary>Nix-users</summary>
|
|
||||||
|
|
||||||
1. run `nix-run -p xrsh --run "xrsh.com"` (pass `-p XXXX` to specify non-default 8080 port )
|
|
||||||
2. build it when package does not exist: `nix-build -E "with import <nixpkgs> { }; callPackage ./xrsh.nix"`
|
|
||||||
</details>
|
|
||||||
|
|
||||||
## Developers
|
## Developers
|
||||||
|
|
||||||
Make sure to clone the repo including submodules (the [xrsh-com](https://forgejo.isvery.ninja/xrsh/xrsh-com) repo)
|
Make sure to clone the repo including submodules (the [xrsh-com](https://forgejo.isvery.ninja/xrsh/xrsh-com) repo)
|
||||||
|
|
Loading…
Reference in New Issue