Repository navigation
Updating the Dev & Prod servers
Jens Luebeck edited this page Nov 11, 2026
·
5 revisions
For testing and prerelease purposes, we have a dev/beta test version of amplicon repository available at the url https://dev.ampliconrepository.org.
This runs inside a container on the same server as the production site to minimize costs. Because it requires AWS permissions to access the server, administration of the server is restricted to members of the UCSD "ucsd-cse-ampliconrepository-admin" group who all by default have access to the AWS console through UCSD SSO. This means that the intern developers may not update this server themselves.
- Click on the releases page https://github.com/AmpliconSuite/AmpliconRepository/releases
- select “draft a new release button”
- make a new tag, ends with the date e.g. 2.16.3_042926 was made on April 29, 2026
- Title same as tag
- Autogenerate release notes. As long as you used PRs to make changes this should be sufficient
- publish release
Take the operator lock before changing either server, and release it when you're done. The full steps are in Creating a new release for AmpRepo.
- SSH into the server, either the dev.ampliconrepository.org / ampliconrepository.org server.
- you can get the IP of the machines on the AWS console
-
cd ~/AmpliconRepository-dev(or -prod if you're on the production machine). - git pull, git fetch -- obtain the latest changes.
- checkout the latest using the tag you made e.g. “git checkout v2.16.3_042926”
- Restart with “~/stop-and-start-repo.sh”
- cd ampRepo_for_docker_build/AmpliconRepository/
- “git fetch”
- checkout the latest using the tag you made “git checkout v2.16.3_042926”
- build the container using a different tag so the old container is not destroyed unless the build works “ docker build -t genepattern/amplicon-repo:prod1 .”
- Assuming the build worked proceed, otherwise debug until it does
- docker stop amplicon-prod
- remove the old container “docker rm amplicon-prod”
- reset the tag to the latest “ docker build -t genepattern/amplicon-repo:prod .”
- cd ~/AmpliconRepository_prod
- get the latest code “git fetch”
- checkout the latest using the tag you made “git checkout v2.16.3_042926”
- Create the new container instance “scripts/deploy/start-server.sh” (it was
./start-server.shbefore the move toscripts/) - proceed to testing