# Clone the repository
git clone https://github.com/genesis-nexus/pulsegen.git
cd pulsegen
# List available versions
git tag -l"v*"--sort=-v:refname
# Checkout specific version
git checkout v2.1.0
Build Options
Option 1: Docker Build (Recommended)
1
2
3
4
5
6
7
8
9
# Build images locally
docker-compose build
# Or build with specific tags
docker build -t pulsegen-backend:local ./backend
docker build -t pulsegen-frontend:local ./frontend
# Run
docker-compose up -d
Option 2: Local Development Build
1
2
3
4
5
6
7
8
9
10
11
# Install dependenciescd backend && npm ci &&cd ..
cd frontend && npm ci &&cd ..
# Buildcd backend && npm run build &&cd ..
cd frontend && npm run build &&cd ..
# The builds are in:# - backend/dist/# - frontend/dist/
Building from Release Archives
If you download a source archive (ZIP/tarball) from GitHub Releases:
The VERSION file contains the release version
Build normally with Docker or npm
1
2
3
4
5
# Check versioncat VERSION
# Build
docker-compose build
# 1. Check current version
docker inspect ghcr.io/genesis-nexus/pulsegen-backend:latest | grep-i version
# 2. Pull new images
docker-compose pull
# 3. Review changelog for breaking changes# https://github.com/genesis-nexus/pulsegen/blob/main/CHANGELOG.md# 4. Backup database
docker-compose exec postgres pg_dump -U postgres pulsegen > backup.sql
# 5. Stop services
docker-compose down
# 6. Start with new images
docker-compose up -d# 7. Run migrations (automatic in entrypoint, but can be manual)
docker-compose exec backend npx prisma migrate deploy
Version Pinning (Production)
For production environments, always pin to specific versions: