Skip to content

fix: copy frontend .env from example in setup script#68

Open
mfisher31 wants to merge 1 commit intomieweb:mainfrom
mfisher31:setup-copy-env-frontend
Open

fix: copy frontend .env from example in setup script#68
mfisher31 wants to merge 1 commit intomieweb:mainfrom
mfisher31:setup-copy-env-frontend

Conversation

@mfisher31
Copy link
Copy Markdown

setup.sh was not setting up the frontend environment file, causing docker compose build to fail when .env was absent (the Dockerfile copies it into the image).

Changes:

  • Added a step to cd into frontend and copy .example.env → .env if one doesn't already exist, consistent with how the pulsevault subproject env is handled
  • Resolved SCRIPT_DIR as an absolute path at the top of the script so subsequent cd calls work correctly whether the script is invoked via bash scripts/setup.sh or setup.sh
00-pulse-vault-env-no-copy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant