Skip to content

Add FE deployment script#77

Open
ainefairbrother wants to merge 2 commits intoigsr:masterfrom
ainefairbrother:add-fe-deploy-script
Open

Add FE deployment script#77
ainefairbrother wants to merge 2 commits intoigsr:masterfrom
ainefairbrother:add-fe-deploy-script

Conversation

@ainefairbrother
Copy link
Contributor

@ainefairbrother ainefairbrother commented Feb 20, 2026

deploy_igsr_fe.sh automates the FE deployment process.

  • Use-case is if you make a change to the FE code and need to build image and push to GC docker repository and have the changes reflected on the dev or prod website.
  • The script has a --dry-run mode to verify what will be run.

Deploy to dev

cd gca_1000genomes_website
./scripts/deploy_igsr_fe.sh \
--path . \
--env dev

Deploy to prod

cd gca_1000genomes_website
./scripts/deploy_igsr_fe.sh \
--path . \
--env prod

In this PR, I also added a couple of features to local_igsr_site_instance_up.sh:

  • --fe-dev mode activates data portal watch/sync mode after FE container starts, allowing quick iteration of data portal features.
  • --skip-index mode skips index generation if the indices already exist in the local ES instance.

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