Host Locally
Docker (recommended)
This is the quickest way to set up Frappe Drive and take it for a test drive.
The Frappe Framework is multi-tenant and supports multiple apps by default. This docker compose
is just a standalone version with Frappe Drive pre-installed. Just put it behind your desired reverse-proxy if needed, and you're good to go.
If you wish to use multiple Frappe apps or need multi-tenancy. I suggest moving over to our production ready self-hosted workflow, or join us on Frappe Cloud to get first party support and hassle-free hosting.
- Setup folder:
mkdir frappe-drive && cd frappe-drive
- Download the required files (Docker Compose file and Frappe Bench setup script):
wget -O docker-compose.yml https://raw.githubusercontent.com/frappe/drive/main/docker/docker-compose.yml
wget -O init.sh https://raw.githubusercontent.com/frappe/drive/main/docker/init.sh
- Run the container!
docker compose up -d
Using Bench
This is the bare metal way to setup Drive.
- Install Bench.
- Install Frappe Drive using
bench get-app drive
. - Create your site -
bench new-site site.name
... - ... and install the app:
bench install-app drive
. - Install some Drive specific system packages:
Ubuntu/Debian (apt based distros):
sudo apt install ffmpeg libmagic
macOS:
brew install libmagic ffmpeg
- Start up the bench if you haven't already -
bench start
. - Drive is now accessible at
localhost:8000
orsitename:8000
.