You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update BIT to work locally by default; copy example .env over to local .env then populate using the setup scripts. Devs only have to run the setup script and follow the prompts.
This PR makes BIT work locally out-of-the-box by populating .env.example with sensible defaults, adding an automatic .env bootstrap step plus npm/docker compose prerequisite checks to first-time-setup.sh, and extracting setup:extension into a dedicated scripts/setup-extension.sh script. Both scripts now perform a graceful nvm install when nvm is detected. The README is updated to reflect the streamlined workflow and the move from the self-host Unified image reference to the Bitwarden Lite image.
Code Review Details
No blocking findings. The shell changes follow existing conventions (set -e, BASH_SOURCE-relative project root, graceful nvm fallbacks with || echo so set -e does not abort), and the .env.example defaults align with the Docker Compose configuration: BW_DOMAIN=127.0.0.1 matches the SSL cert SAN and the lite image reference matches the README link.
The two existing reviewer threads have been addressed:
.env.example placeholder password concern — fixed in 064d0e7 (default password no longer contains an email-shaped value).
first-time-setup.sh ordering of nvm install vs setup:ssl — resolved; generate-certs.sh does not require Node.
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
ai-review-vnextRequest a Claude code review using the vNext workflow
2 participants
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.
🎟️ Tracking
PM-36230
📔 Objective
Update BIT to work locally by default; copy example .env over to local .env then populate using the setup scripts. Devs only have to run the setup script and follow the prompts.