Setup & Installation

Get Orbu up and running in minutes

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:

POWERSHELL
# Clone repository
git clone https://github.com/Nioron07/Orbu.git
cd Orbu

# Run setup script
.\scripts\setup.ps1

The setup script will automatically:

  • Check Docker and Docker Compose installation
  • Create .env file 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:

Bash
git clone https://github.com/Nioron07/Orbu.git
cd Orbu

2. Configure Environment

Create your environment file and generate the required encryption keys:

POWERSHELL
# 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

Environment Variables

Key environment variables in your .env file:

Bash
# Database
POSTGRES_DB=orbu
POSTGRES_USER=orbu
POSTGRES_PASSWORD=your-secure-password

# Encryption (REQUIRED)
ENCRYPTION_KEY=your-fernet-key

# Flask
SECRET_KEY=your-secret-key

Configuration Options

VariableDescriptionRequired
POSTGRES_DBPostgreSQL database name
Yes
POSTGRES_USERPostgreSQL username
Yes
POSTGRES_PASSWORDPostgreSQL password
Yes
ENCRYPTION_KEYFernet encryption key for credential storage
Yes
SECRET_KEYFlask secret key for session management
Yes

3. Start Services

With configuration complete, start all Orbu services using Docker Compose:

Bash
docker compose up -d

4. Verify Services

Check that all services are running correctly:

Bash
docker compose ps

You should see four containers running:

  • orbu-nginx - Nginx reverse proxy (serves frontend and routes API calls)
  • orbu-backend - Flask API server
  • orbu-frontend - Vue.js build container
  • orbu-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:

Bash
# View all logs
docker compose logs

View logs for a specific service:

Bash
# View logs for a specific service
docker compose logs backend
docker compose logs nginx
docker compose logs postgres

Rebuild Services

If services fail to start or behave unexpectedly, try rebuilding:

Bash
# Rebuild and restart
docker compose down
docker compose up -d --build

Common Issues

Service Management

Stop Services

To stop all Orbu services:

Bash
docker compose stop

Restart Services

To restart services after stopping:

Bash
docker compose up -d

Remove Services

To completely remove all containers and volumes (including database data):

Bash
# Remove containers and volumes (deletes all data!)
docker compose down --volumes

Next Steps

Now that Orbu is installed, you're ready to explore its features: