Setup & Installation
Get Orbu up and running in minutes
This guide covers running Orbu locally for development and testing purposes.
For production deployment: Use a cloud service or dedicated server with proper security configurations. Deploy using Docker on platforms like AWS, Azure, Google Cloud, DigitalOcean, or your own infrastructure. Ensure you configure firewalls, use secure passwords, enable HTTPS, and follow production security best practices.
Prerequisites
Before installing Orbu, ensure you have the following:
- Docker and Docker Compose installed on your system
- Git for cloning the repository
- Python 3.x (for generating encryption keys during manual setup)
- Access to one or more Acumatica instances with REST API enabled
Quick Start (Automated Setup)
The fastest way to get Orbu running is using the automated setup scripts. Choose your platform:
# Clone repository
git clone https://github.com/Nioron07/Orbu.git
cd Orbu
# Run setup script
.\scripts\setup.ps1The setup script will automatically:
- Check Docker and Docker Compose installation
- Create
.envfile from template - Generate encryption and secret keys
- Start all services
- Wait for services to be healthy
Manual Setup
If you prefer manual control or the automated script doesn't work for your environment, follow these steps:
1. Clone Repository
First, clone the Orbu repository from GitHub:
git clone https://github.com/Nioron07/Orbu.git
cd Orbu2. Configure Environment
Create your environment file and generate the required encryption keys:
# 1. Create environment file from template
Copy-Item .env.example .env
# 2. Generate encryption keys (saves to .env automatically)
python scripts/generate_keys.py
# 3. Edit .env and change POSTGRES_PASSWORD to a secure password.env file and change POSTGRES_PASSWORD to a secure password of your choice. Environment Variables
Key environment variables in your .env file:
# Database
POSTGRES_DB=orbu
POSTGRES_USER=orbu
POSTGRES_PASSWORD=your-secure-password
# Encryption (REQUIRED)
ENCRYPTION_KEY=your-fernet-key
# Flask
SECRET_KEY=your-secret-keyConfiguration Options
| Variable | Description | Required |
|---|---|---|
POSTGRES_DB | PostgreSQL database name | Yes |
POSTGRES_USER | PostgreSQL username | Yes |
POSTGRES_PASSWORD | PostgreSQL password | Yes |
ENCRYPTION_KEY | Fernet encryption key for credential storage | Yes |
SECRET_KEY | Flask secret key for session management | Yes |
.env file secure and never commit it to version control. The encryption key protects sensitive Acumatica credentials stored in the database. 3. Start Services
With configuration complete, start all Orbu services using Docker Compose:
docker compose up -d4. Verify Services
Check that all services are running correctly:
docker compose psYou should see four containers running:
orbu-nginx- Nginx reverse proxy (serves frontend and routes API calls)orbu-backend- Flask API serverorbu-frontend- Vue.js build containerorbu-postgres- PostgreSQL database
Access Application
Once all services are running, open your web browser and navigate to:
http://localhost:8080
Default Orbu web interface
You should see the Orbu welcome page. You're now ready to add your first Acumatica client!
Troubleshooting
View Logs
If you encounter issues, check the container logs:
# View all logs
docker compose logsView logs for a specific service:
# View logs for a specific service
docker compose logs backend
docker compose logs nginx
docker compose logs postgresRebuild Services
If services fail to start or behave unexpectedly, try rebuilding:
# Rebuild and restart
docker compose down
docker compose up -d --buildCommon Issues
Service Management
Stop Services
To stop all Orbu services:
docker compose stopRestart Services
To restart services after stopping:
docker compose up -dRemove Services
To completely remove all containers and volumes (including database data):
# Remove containers and volumes (deletes all data!)
docker compose down --volumes--volumes flag will delete all database data including saved clients and endpoints. Only use this if you want to completely reset Orbu. Next Steps
Now that Orbu is installed, you're ready to explore its features: