-
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.
Merge pull request #42 from Convex-Dev/develop
Update
- Loading branch information
Showing
16 changed files
with
487 additions
and
272 deletions.
There are no files selected for viewing
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,51 @@ | ||
# Convex CLI | ||
|
||
The Convex CLI (Command Line Interface) is a powerful tool for interacting with Convex from the command line on Windows, Linux and MacOS. It's a handy tool for system administrators and peer operators who need to script interactions with the Convex Network. | ||
|
||
![Convex CLI Screenshot](convex-cli.png) | ||
|
||
## Installation | ||
|
||
The Convex CLI requires: | ||
- A recent version of Java (21+, Java 22 recommended) | ||
- A copy of the `convex.jar` executable jar file | ||
|
||
Java is available from multiple providers, we recommend: | ||
- [Oracle JDK](https://www.oracle.com/java/technologies/downloads/) | ||
- [Eclipse Temurin JDK](https://adoptium.net/temurin/releases/) | ||
|
||
Snapshots of the `convex.jar` file are currently available here: [Convex Snapshots](https://drive.google.com/drive/folders/1AZdyuZOmC70i_TtuEW3uEKvjYLOqIMiv?usp=sharing) | ||
|
||
## Running the CLI | ||
|
||
To run the CLI, you simply need to run the following: | ||
|
||
``` | ||
java -jar convex.jar <arguments> | ||
``` | ||
|
||
It is usually more convenient to have a script, alias or batch file which executes the Java command. This means that you can simply type `convex ....` from any directory to access the CLI. The remainder of this document assumes you are using such a script. | ||
|
||
### Windows | ||
|
||
For Windows PowerShell, the following should work: | ||
|
||
``` | ||
# Windows powershell - convex.ps1 | ||
function convex { | ||
java -jar C:\path\to\convex.jar $args | ||
} | ||
``` | ||
|
||
Put this in your PowerShell profile (typically `Profile.ps1` in `$home/documents/PowerShell`) and the `convex` command should be available in all future PowerShell sessions. | ||
|
||
### Linux | ||
|
||
Make a small shell script (with `chmod +x`) as follows: | ||
|
||
``` | ||
#!/bin/bash | ||
java -jar /path/to/convex.jar $@ | ||
``` | ||
|
||
Put this in `/usr/local/bin` and you should be good to go. |
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,29 @@ | ||
# Convex Desktop | ||
|
||
The Convex CLI (Command Line Interface) is a powerful tool for interacting with Convex from the command line on Windows, Linux and MacOS. It's a handy tool for system administrators and peer operators who need to script interactions with the Convex Network. | ||
|
||
``` | ||
![Convex Desktop Screenshot](convex-desktop.png) | ||
``` | ||
## Installation | ||
|
||
The Convex Desktop requires: | ||
- A recent version of Java (21+, Java 22 recommended) | ||
- A GUI based operating system (e.g. Windows, Linux or MacOS) | ||
- A copy of the `convex.jar` executable jar file | ||
|
||
Java is available from multiple providers, we recommend: | ||
- [Oracle JDK](https://www.oracle.com/java/technologies/downloads/) | ||
- [Eclipse Temurin JDK](https://adoptium.net/temurin/releases/) | ||
|
||
Snapshots of the `convex.jar` file are currently available here: [Convex Snapshots](https://drive.google.com/drive/folders/1AZdyuZOmC70i_TtuEW3uEKvjYLOqIMiv?usp=sharing) | ||
|
||
## Running Convex Desktop | ||
|
||
If Java is correctly configured, you should be able to run Convex Desktop simply by double-clicking on the `convex.jar` file which will run Convex Desktop as an executable. On some systems, you may need to grant permissions to run a downloaded executable file. | ||
|
||
Alternatively to run Convex Desktop, you can run the following commend from the command prompt, script or GUI shortcut: | ||
|
||
``` | ||
java -jar convex.jar desktop | ||
``` |
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.