33 lines
834 B
Markdown
33 lines
834 B
Markdown
# BTCPay Server Deployment
|
|
|
|
This project deploys a BTCPay Server with a Bitcoin node using Nix.
|
|
|
|
## Prerequisites
|
|
|
|
- **Nix package manager** - If you're not using NixOS, install from https://nixos.org/download/
|
|
- **SSH keys configured** for root access to your target server
|
|
|
|
## Setup
|
|
|
|
1. **Configure your server**: Edit `REMOTE_HOST` in `justfile` to point to your server
|
|
2. **SSH access**: Ensure you have SSH keys configured for root access to your target server
|
|
|
|
## Quick Start
|
|
|
|
```bash
|
|
# Enter development environment (provides just automatically)
|
|
nix-shell
|
|
|
|
# Build configuration
|
|
just build
|
|
|
|
# Deploy to server
|
|
just deploy
|
|
|
|
# Check status
|
|
just status
|
|
```
|
|
|
|
## What You Need
|
|
|
|
The `shell.nix` provides `just` and everything else needed. If you already have `just` installed, you can skip `nix-shell` and run the commands directly.
|