Get BioAnalyzer Backend up and running in 5 minutes.
You'll need:
- Docker 20.0+ with Docker Compose support (recommended)
- Python 3.8+ (for local installation, optional)
- Internet connection
- Git
Works on modern Linux systems.
git clone https://github.com/waldronlab/bioanalyzer-backend.git
cd bioanalyzer-backend
chmod +x install.sh
./install.sh
docker compose build
docker compose up -d
docker compose ps
curl http://localhost:8000/health
export PATH="$PATH:/home/ronald/.local/bin"
BioAnalyzer fieldsOpen http://localhost:8000/docs for API documentation.
Note: This may encounter issues with externally managed Python environments.
git clone https://github.com/waldronlab/bioanalyzer-backend.git
cd bioanalyzer-backend
sudo apt install python3.12-venv python3-full
python3 -m venv .venv
source .venv/bin/activate
# Install package from pyproject.toml (modern Python packaging)
pip install -e .
# Or with development dependencies: pip install -e .[dev]
cat > .env << EOF
NCBI_API_KEY=your_ncbi_key_here
GEMINI_API_KEY=your_gemini_key_here
EMAIL=your_email@example.com
EOF
python main.pyDocker:
- Visit http://localhost:8000/docs
- Test health: http://localhost:8000/health
- CLI:
BioAnalyzer fields
Local:
- Visit http://localhost:8000/docs
- Test health: http://localhost:8000/health
- CLI:
python cli.py fields
externally-managed-environment error:
# Use Docker (recommended)
docker compose build
docker compose up -d
# OR install python3-venv
sudo apt install python3.12-venv python3-fulldocker-compose command not found:
# Use newer Docker Compose syntax
docker compose build
docker compose up -dBioAnalyzer command not found:
export PATH="$PATH:/home/ronald/.local/bin"
# Or restart terminal after running ./install.shPort already in use:
sudo lsof -i :8000
# Use different port in docker-compose.yml or stop other servicesAPI not responding:
docker compose ps
docker compose logs
docker compose restart- Docker container running
- API responding at http://localhost:8000/health
- CLI commands working (
BioAnalyzer fields) - API documentation accessible at http://localhost:8000/docs
- System status shows all green (
BioAnalyzer status)
- Read the Complete Setup Guide
- Explore the API documentation
- Test with real PMIDs
- Configure API keys for full functionality
Need help? Check the troubleshooting section in the main README.