-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make vite tool shed client proxy configurable
- Loading branch information
Showing
2 changed files
with
24 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Tool Shed 2.0 client | ||
|
||
The following assumes `npx` is installed, but equivalent npm commands should work too. | ||
|
||
To start a HMR dev server run | ||
|
||
```shell | ||
npx vite dev | ||
``` | ||
|
||
Note that you will need to start the Tool Shed backend from the galaxy root directory: | ||
|
||
```shell | ||
TOOL_SHED_API_VERSION=v2 ./run_tool_shed.sh | ||
``` | ||
|
||
If you want to target an external V2 tool shed API run | ||
|
||
```shell | ||
TOOL_SHED_URL=https://testtoolshed.g2.bx.psu.edu CHANGE_ORIGIN=true npx vite dev | ||
``` |
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