Repository navigation
Chore/justfile deploy - #12
Merged
Merged
Conversation
The ingest service now deploys without npm and serves src/ exactly as committed, so src/lib and the generated assistant prompt modules must match what `npm run vendor-libs` produces.
Breaking for operators: install-service.sh and update-service.sh are removed; `just deploy` replaces both (pull --ff-only with the wrong-branch prompt kept, pin node, render and enable the unit, restart). `just status|logs|down|uninstall` cover the rest. The unit is versioned at deploy/graph-lens-lite.service with @user@/@group@/@dir@ placeholders filled at deploy time, so the public repo carries no host specifics. It now runs `node server/index.js` directly instead of `npm run serve:api`: no npm install on the server (no electron/playwright downloads) and no vendor-libs run on every start. nvm's default node is copied to deploy/bin/node so nvm upgrades can't break the unit; a system node is symlinked so package upgrades flow through.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Deploy the ingest service with just