mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 06:05:24 +00:00
chore: update paths for renamed local folders
This commit is contained in:
1 parent
4389bf2013
commit
2fe7530cd4
4 files changed
+5
-7
No files matched your search
+1
-1
@@ -25,7 +25,7 @@ Termix is a small core plus plugins. This repo is the core: hosts, credentials,
|
|||||||
npm run dev
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
This builds everything, starts the backend and then the Vite server at `http://localhost:5173/`. Backend changes restart the backend, and plugin changes in `../Termix-Plugins` rebuild and reload that plugin. `npm run dev:electron` does the same with the desktop app, and `npm run dev -- --help` lists the other options.
|
This builds everything, starts the backend and then the Vite server at `http://localhost:5173/`. Backend changes restart the backend, and plugin changes in `../Plugins` rebuild and reload that plugin. `npm run dev:electron` does the same with the desktop app, and `npm run dev -- --help` lists the other options.
|
||||||
|
|
||||||
## Useful commands
|
## Useful commands
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* pinned sha256 and unpacked.
|
* pinned sha256 and unpacked.
|
||||||
*
|
*
|
||||||
* For development, `--local <dir>` (or TERMIX_LOCAL_PLUGINS) points at a
|
* For development, `--local <dir>` (or TERMIX_LOCAL_PLUGINS) points at a
|
||||||
* folder of plugin repos like ../Termix-Plugins. A plugin there whose sources
|
* folder of plugin repos like ../Plugins. A plugin there whose sources
|
||||||
* changed since its last build is rebuilt first with this checkout's SDK, so
|
* changed since its last build is rebuilt first with this checkout's SDK, so
|
||||||
* SDK edits apply without publishing, then any built one (has
|
* SDK edits apply without publishing, then any built one (has
|
||||||
* dist/) is copied in place of its pin, or added when it has no pin.
|
* dist/) is copied in place of its pin, or added when it has no pin.
|
||||||
|
|||||||
+2
-4
@@ -3,7 +3,7 @@
|
|||||||
* and options.
|
* and options.
|
||||||
*
|
*
|
||||||
* Every target builds the SDK and stages plugins (local builds from
|
* Every target builds the SDK and stages plugins (local builds from
|
||||||
* ../Termix-Plugins when it exists), then:
|
* ../Plugins when it exists), then:
|
||||||
*
|
*
|
||||||
* - web: compiles the backend in watch mode, starts it, then starts Vite. A
|
* - web: compiles the backend in watch mode, starts it, then starts Vite. A
|
||||||
* backend or SDK change restarts the backend. A plugin change rebuilds that
|
* backend or SDK change restarts the backend. A plugin change rebuilds that
|
||||||
@@ -652,9 +652,7 @@ async function main() {
|
|||||||
const pluginsDir = options.local
|
const pluginsDir = options.local
|
||||||
? path.resolve(
|
? path.resolve(
|
||||||
root,
|
root,
|
||||||
options.pluginsDir ??
|
options.pluginsDir ?? process.env.TERMIX_LOCAL_PLUGINS ?? "../Plugins",
|
||||||
process.env.TERMIX_LOCAL_PLUGINS ??
|
|
||||||
"../Termix-Plugins",
|
|
||||||
)
|
)
|
||||||
: null;
|
: null;
|
||||||
const localPlugins =
|
const localPlugins =
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ Targets
|
|||||||
docker Build the production image and run it with your local plugins
|
docker Build the production image and run it with your local plugins
|
||||||
|
|
||||||
Options
|
Options
|
||||||
--plugins <dir> Plugin repos to build and watch (default ../Termix-Plugins)
|
--plugins <dir> Plugin repos to build and watch (default ../Plugins)
|
||||||
--no-local Use only the plugins pinned in docker/bundled-plugins.json
|
--no-local Use only the plugins pinned in docker/bundled-plugins.json
|
||||||
--db <engine> sqlite (default), postgres or mysql. Postgres and MySQL run in Docker
|
--db <engine> sqlite (default), postgres or mysql. Postgres and MySQL run in Docker
|
||||||
--guacd Run guacd in Docker for remote desktop
|
--guacd Run guacd in Docker for remote desktop
|
||||||
|
|||||||
Reference in new issue
Block a user