Add universal uv-based installer for OG-Core and country repos#1142
Open
SeaCelo wants to merge 1 commit into
Open
Add universal uv-based installer for OG-Core and country repos#1142SeaCelo wants to merge 1 commit into
SeaCelo wants to merge 1 commit into
Conversation
Contributor
Author
|
Fixed a problem with the windows command because of how it ran the script from memory. We now download the script to a temp file and run it. Thanks @utsinboots To test this from the PR branch on SeaCelo (until this lands): macOS / Linux /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/SeaCelo/OG-Core/installer/scripts/install.sh)" _ --repo og-coreWindows (PowerShell) $f = "$env:TEMP\og-install.ps1"; irm https://raw.githubusercontent.com/SeaCelo/OG-Core/installer/scripts/install.ps1 -OutFile $f; powershell -ExecutionPolicy Bypass -File $f -Repo og-coreInstalls OG-Core into a directory you choose (~1-2 min). Omit |
|
I tested the windows installer and can confirm it runs with all checks passed successfully:
|
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.
This adds a from-scratch installer that takes a user from a bare machine (only
gitrequired) to a working OG model environment: it installs uv, clones the repo you pick, runsuv sync --extra dev, and verifies the import.scripts/install.sh(macOS/Linux) andscripts/install.ps1(Windows) are universal — choose the repo from a menu or pass--repo/-Repo. The catalog hasog-coreandog-ethtoday; more country calibrations get added as they migrate to uv.scripts/QUICK_INSTALL.mddocuments both ways to run it (one-line, or download-and-run), per platform.cc: @rickecon @jdebacker