tools: add Toolforge deployment + frontend-build scripts#534
Open
lgelauff wants to merge 1 commit into
Open
Conversation
lgelauff
added a commit
that referenced
this pull request
May 3, 2026
…step Brings deployment.md up to date from tools/build-frontend-script (PR #534): - Replace vague bullet instructions with actual commands - Add config template with openssl cookie secret generation - Fix venv creation (python3.13, --without-pip + curl bootstrap) - Fix tools/create_schema.py path - Fix log paths (no logs/ subdirectory) - Add step 0 (optional clean slate) with backup of irreplaceable files - Add venv rebuild procedure to debugging section - Fix python3.11 → python3.13 throughout Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
11 tasks
Slimmed from the original branch to contain only the tools/ scripts (build_frontend.sh, deploy.sh, reinstall*.sh, steps/*), dropping unrelated buildservice/app changes. Independent of master.
118fc3c to
c59cb21
Compare
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.
Adds the Toolforge deployment + frontend-build script suite under
tools/:build_frontend.sh— reliable Toolforge frontend build (handles the esbuild linux binary inside a node20 job, avoiding pod OOM)deploy.sh— routine update: pull → build frontend → restart → verify/metareinstall.sh/reinstall_venv.sh— venv / full reinstall helperssteps/—configure.py,configure.sh,pip_install.sh,restart_service.shSlimmed to contain only the
tools/scripts. The buildservice migration (Procfile/gunicorn/env-var config) and app changes that were previously on this branch are handled separately in #564.