GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — SpliceVarDB/docs/DEVELOPMENT.md at main · CCICB/SpliceVarDB

Expand file tree

/

DEVELOPMENT.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
80 lines (53 loc) · 4.01 KB
/

DEVELOPMENT.md

Copy path

File metadata and controls

80 lines (53 loc) · 4.01 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Development Guide

Internal notes for developers working on SpliceVarDB. For the external contribution process, see ../CONTRIBUTING.md.

Repository layout

This repo is a static front-end site - plain HTML/CSS/jQuery, no build step or bundler.

index.html                 Main site page
static/css/                Stylesheets
static/js/                 Client-side logic (calls the /splicevardb-api backend)
resources/                 The /resources sub-page
publication_data/          Data + R notebook behind the SpliceVarDB paper figures (not part of the live site)
Dockerfile                 nginx image that serves the site
docker-compose.yml         Local run / production deploy target
nginx.conf                 nginx routing (SPA-style fallback, separate fallback for /resources)
bitbucket-pipelines.yml    CI/CD: builds and deploys on release tags

The variant database itself is not in this repo - it's served by a separate backend API (/splicevardb-api) and can be downloaded from https://splicevardb.org.

Two repositories

Repo Role
Bitbucket Source of truth. All internal CCI development happens here. Releases are cut from here.
GitHub Public mirror. Exists so external contributors can find the project and open PRs without needing Bitbucket access.

Both remotes can be added to a single local clone, e.g.:

git remote add bitbucket [email protected]:cciacb/splicevardb.git
git remote add origin [email protected]:CCICB/SpliceVarDB.git

Internal workflow (Bitbucket)

  1. Branch off main (branches are often prefixed with the Jira ticket, e.g. CW-10-pipelines, but descriptive names like fix-contact-form are also used).
  2. Open a PR against main on Bitbucket.
  3. Get it reviewed and merged.

Cutting a release

Production deploys are triggered by pushing a tag matching release-v* (see bitbucket-pipelines.yml), e.g. release-v1.3.3.

Tagging that pattern on Bitbucket main runs a pipeline that:

  1. Runs on a self-hosted runner.
  2. scps the repo contents to the production server.
  3. Runs docker compose up -d --build on the server (with secrets injected via Doppler).

So a release is: merge your PRs into main on Bitbucket → tag main with the next release-v* version → push the tag → pipeline builds and deploys.

Mirroring to GitHub

There is no automated sync between Bitbucket and GitHub. After a release, a maintainer manually pushes Bitbucket main (and its tags) to GitHub:

git push origin main --tags

(where origin points at GitHub - see remotes above). Do this after the Bitbucket release has been merged and tagged, so GitHub never gets ahead of the internal source of truth.

Handling external contributions

Anyone can open a PR against either repo (see CONTRIBUTING.md).

  • PR opened on Bitbucket: reviewed and merged normally, as above.
  • PR opened on GitHub: reviewed on GitHub, but since GitHub is a downstream mirror, the change is not merged directly there. Once approved, a CCI maintainer manually re-applies the change onto Bitbucket main (e.g. by cherry-picking the commit or applying it as a patch), so it goes through the same pipeline and release process as internal work. The GitHub PR is then closed/marked merged, and the change reaches GitHub for real on the next Bitbucket → GitHub mirror push.

Local development

docker compose up --build

Serves the site at http://localhost:3000 via the same nginx image used in production. Since there's no build step, you can also just open index.html directly or serve the repo root with any static file server - the Docker route most closely matches production routing behavior (see nginx.conf), particularly around /resources.

Note the backend API (/splicevardb-api) is a separate service and isn't started by this compose file - pages that fetch live variant data won't return results unless that API is reachable.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.