forked from galaxyproject/galaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
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 galaxyproject#18988 from mvdbeek/vite_dev_server_p…
…roxy Make vite tool shed client proxy configurable
- Loading branch information
Showing
2 changed files
with
26 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,23 @@ | ||
# Tool Shed 2.0 client | ||
|
||
You will need to start the Tool Shed backend from the galaxy root directory. | ||
This is required if you want to develop against a local tool shed, and if you | ||
plan to make changes to the graphql queries if you want to target a remote tool shed. | ||
|
||
```shell | ||
TOOL_SHED_API_VERSION=v2 ./run_tool_shed.sh | ||
``` | ||
|
||
Start the HMR dev server **and** the graphql dev server | ||
|
||
```shell | ||
yarn run dev-all | ||
``` | ||
|
||
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 yarn vite dev | ||
``` | ||
|
||
Note that you still need a local backend to generate the graphql schema. |
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