Self-hosted
The short guide. The full documentation, including how the office is built, how to write an app and what doesn't work yet, is in the GitHub repository.
Quick start
On Linux, Mac or Windows: download the code, fill in one settings file, and run one command. You only need a domain for a public server. On a local computer, everything works on local addresses.
git clone https://github.com/bina-solution/digital-office
cd digital-office
cp .env.ex .env # business name, domain
./bbox run # on Windows: bbox.cmd run
Once the office is up, the setup wizard on the main screen completes whatever is missing: connecting Google, scanning a code for WhatsApp, and keys for external services. Don't run the components directly, without the office's command: it's the command that builds them from the manifests and checks that each one came up.
On a computer, a server or in the cloud
The office is the same everywhere. What changes is the address from which every app's address is derived, and that's one line in the settings file.
Local computer
A computer at the office or at home. No domain needed: every app is available at its own local address.
Your own server
A server with a public address and your own domain. Security certificates are issued automatically.
Managed cloud (coming soon)
Just your business name. We provide the address, the server, backups and updates, and you can connect your own domain later.
Moving between them means changing the address line and transferring the data. The same settings file runs on a computer and on a server, and you can move from our cloud to your own server with no penalties.
Requirements
- Operating system: Linux, Mac or Windows.
- Memory: 4 GB for the core, 8 GB or more with all the apps.
- Disk: at least 40 GB, 100 GB recommended.
- For a public server: a public address, ports 80 and 443, and a domain with a record covering all subdomains. Incoming mail also needs port 25.
The settings file
All settings live in one file, created from the example file and never stored in the repository. The business name and the domain determine all the addresses, and the setup wizard generates the system passwords on its own, so you only fill in what a person needs to decide.
COMPANY_SLUG / COMPANY_BASE_DOMAIN business name and domain
TZ Asia/Jerusalem
How the office is built
The office is built from files, not assembled by hand. Each app is described in a single manifest; the office reads them all, picks one provider for each need, and builds the whole system from them. Three layers, and each folder is a layer:
platform/ layer 0: the compiler
platform-base/ layers 1-2: what every office gets
apps/ layer 3: one folder per app
App management
Install, turn off and remove apps from the main screen, or from the command line:
./bbox help # every command
./bbox apps # install, enable, disable
A new app is a folder with a manifest. The full guide is in the repository.
Operations
./bbox baseline # every service up as declared
./bbox n8n pull # automations to and from the repo
Backup: there's no backup from within the office yet. Until there is, back up the databases and the files before any action that deletes something. In the managed cloud, it's included.
Contributing
- Read the working rules in the repository. They're for humans and AI agents alike.
- Before any large piece of work, open a discussion. Issues are tracked in the repository with severity and status.
- Every change has to pass the tests and an install of the office on a clean machine. Green, or it doesn't go in.
- Contributions are released under the project's license. License →