Run Drive on your computer
Clone the code, run one command and open the address it prints.
Before you start
You need Docker with Compose v2 (Docker Desktop is fine), about 6 GB of free disk and 4 GB of RAM. The first start takes several minutes; later starts take seconds.
Start Drive
-
Get the code
git clone https://github.com/sunday-studio/driver drive && cd drive -
Start the stack
It builds the images, starts everything and prints the address to open. Safe to run again.
make run-local -
Create the admin account
Open
http://localhost:5173and fill in the setup page. -
Add your documents
Copy files into
tmp/run-local/documents, or drop them into the web app. Your originals stay as they are.
Stop and reset
| Command | What it does |
|---|---|
make run-local-down |
Stop Drive. Your documents and database stay. |
make run-local-reset |
Delete the run-local database, documents and app data. Asks first. |
If a port is taken, set others: DRIVE_WEB_PORT=5174 DRIVE_PORT=8081 make run-local. All ports are on Host ports.
If it will not start
Docker is not installed or not running
Install Docker Desktop (or Docker Engine with the Compose plugin) and start it.
Docker cannot see the documents folder
Move the checkout somewhere Docker can read. In Docker Desktop: Settings > Resources > File sharing.