Quick Start
Get PatchOne running in under 5 minutes using the on-premises mode (SQLite, single Windows Server).
Prerequisites
- Windows Server 2019+ (or Windows 10/11 for dev/test)
- Python 3.11+ installed
- At least one Windows machine for the agent
1. Clone and configure
Clone the repository
git clone <repo> patchone
cd patchone
copy server\.env.example server\.env
Open server\.env and set at minimum:
server/.env
SECRET_KEY=change-this-to-a-random-string-at-least-32-chars
ADMIN_PASSWORD=your-admin-password
SERVER_MODE=onprem
SECRET_KEY
Generate a strong key with python -c "import secrets; print(secrets.token_hex(32))". Never reuse or commit this value.
2. Run the installer
Run as Administrator
deploy\install_server.bat
This single script:
- Creates a Python virtual environment
- Installs all server dependencies
- Initialises the database and seeds the 50-title software catalog
- Creates the initial admin account
- Registers PatchOne as a Windows Service
- Configures the firewall
3. Open the dashboard
Navigate to http://<server-ip> and log in with your admin credentials.
4. Deploy the first agent
Create config.ini from the template and fill in your server URL and API key:
config.ini
[server]
SERVER_URL=https://your-patchone-server
API_KEY=<your-api-key>
TENANT_ID=default
HEARTBEAT_INTERVAL=300
[agent]
LOG_LEVEL=INFO
Copy PatchPilotAgent.exe and config.ini to a test machine and run:
Install the agent (run as Administrator)
PatchPilotAgent.exe install
The machine appears in the Machines page after the next check-in.
5. Push your first update
- Go to Deploy in the dashboard
- Select the test machine
- Choose a software title from the catalog (e.g., Google Chrome)
- Click Deploy
The job runs silently on the agent. Check Jobs for the result.
Verification checklist
- Dashboard loads and login works
- Test machine appears in Fleet view
- Software inventory visible on machine detail page
- Deploy job completes successfully