generated from shuding/nextra-docs-template
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* I will not even bother to describe * docs: change use RUNTIPI_APP_DATA_PATH in running locally section * docs: fix typo in installation * docs: remove <br> in callout * docs: make _meta.json titles match with guide titles * docs: use repository instead of repo * docs: don't use should because Nicolas doesn't like it * docs: add an extra step in editing the traefik config * docs: add missing bash decleration to using the cli * docs: fix typo * docs: small adjustments --------- Co-authored-by: Nicolas Meienberger <github@thisprops.com>
- Loading branch information
1 parent
a6de002
commit 2700034
Showing
41 changed files
with
4,456 additions
and
3,444 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.next | ||
node_modules | ||
pnpm-lock.yaml | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,32 @@ | ||
# Running the CLI locally | ||
|
||
While the CLI is not meant to run during development, when developing new features for the CLI, it is useful to run it locally to test your changes. | ||
## Overview | ||
|
||
You can do so by navigating to the `packages/cli` folder and executing the following command: | ||
During development it is useful to be able to run the cli locally to test any changes you make. | ||
|
||
## Requirements | ||
|
||
- Rust needs to be installed | ||
- Git needs to be installed | ||
|
||
## Running the cli | ||
|
||
You firstly need to clone the cli repository. This can be done with this command: | ||
|
||
```bash | ||
git clone https://github.com/runtipi/cli | ||
``` | ||
|
||
Then you can run the cli with this command: | ||
|
||
```bash | ||
cargo run | ||
``` | ||
|
||
If you need to build the cli you can do so with this command: | ||
|
||
```bash | ||
NODE_ENV=development npx tsx ./src/index.ts <command> | ||
cargo build | ||
``` | ||
|
||
This will run the CLI using the TypeScript compiler and execute the `index.ts` file with the given command. | ||
This command is the equivalent of running `./runtipi-cli <command>` on a production instance. | ||
If everything succeeds the cli should be located in `target/debug/runtipi-cli`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.