Comprehensive guides and references for the OpenFrame platform
Get OpenFrame up and running in under 5 minutes. This guide will have you exploring the platform quickly using the fastest setup method.
For the quickest start, use our development shell scripts:
# 1. Clone the repository
git clone https://github.com/flamingo-stack/openframe-oss-tenant.git
cd openframe-oss-tenant
# 2. Start development dependencies
./scripts/dev-start-dependencies.sh
# 3. Initialize development configuration
./clients/openframe-client/scripts/setup_dev_init_config.sh
# 4. Build and start services
mvn clean install -DskipTests
./scripts/start-all-services.sh
# 5. Access the platform
open http://localhost:3000
git clone https://github.com/flamingo-stack/openframe-oss-tenant.git
cd openframe-oss-tenant
OpenFrame requires several databases and message brokers. Start them using Docker:
# Start MongoDB, Redis, Kafka, Cassandra, and other dependencies
./scripts/dev-start-dependencies.sh
# Verify services are running
docker ps
You should see containers for:
Run the client configuration setup script:
./clients/openframe-client/scripts/setup_dev_init_config.sh
This script configures:
Build all Spring Boot services:
# Clean build with tests skipped for quick start
mvn clean install -DskipTests
# If you prefer to run tests (takes longer):
# mvn clean install
Expected output:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] OpenFrame Platform ................................ SUCCESS
[INFO] OpenFrame Config ................................... SUCCESS
[INFO] OpenFrame API ...................................... SUCCESS
[INFO] OpenFrame Authorization Server ..................... SUCCESS
[INFO] OpenFrame Gateway .................................. SUCCESS
[INFO] OpenFrame External API ............................. SUCCESS
[INFO] OpenFrame Client ................................... SUCCESS
[INFO] OpenFrame Stream ................................... SUCCESS
[INFO] OpenFrame Management ............................... SUCCESS
[INFO] ------------------------------------------------------------------------
Launch the microservices in the correct order:
# Start all services
./scripts/start-all-services.sh
This starts services in dependency order:
In a new terminal, start the web UI:
cd openframe/services/openframe-frontend
# Install dependencies (first time only)
npm install
# Start development server
npm run dev
The frontend will be available at http://localhost:3000.
Verify all services are running:
# Check API service
curl http://localhost:8080/actuator/health
# Check Gateway
curl http://localhost:8081/actuator/health
# Check Authorization Server
curl http://localhost:8082/actuator/health
Expected response for each:
{"status":"UP"}
Open your browser and navigate to:
http://localhost:3000http://localhost:8080/swagger-ui.htmlhttp://localhost:8081/actuator/healthhttp://localhost:3000Once logged in, test the platform with these steps:
# Using the External API with an API key
curl -X POST http://localhost:8083/api/v1/organizations \
-H "Content-Type: application/json" \
-H "X-API-Key: your-api-key" \
-d '{
"name": "Example MSP",
"contactInformation": {
"email": "admin@example-msp.com"
}
}'
In the web UI:
After successful setup, you should see:
# Start development environment
./scripts/dev-start-dependencies.sh
# Stop all services
./scripts/stop-all-services.sh
# Restart specific service
./scripts/restart-service.sh api-service
# View logs
docker compose logs -f openframe-api
# Clean rebuild
mvn clean install && ./scripts/restart-all-services.sh
# Check if ports are in use
netstat -tulpn | grep :8080
# Kill conflicting processes
pkill -f "java.*openframe"
# Restart with clean slate
./scripts/stop-all-services.sh
./scripts/dev-start-dependencies.sh
./scripts/start-all-services.sh
# Restart databases
docker compose restart mongodb redis kafka
# Check database connectivity
docker compose exec mongodb mongosh --eval "db.runCommand('ping')"
cd openframe/services/openframe-frontend
# Clear node modules and reinstall
rm -rf node_modules package-lock.json
npm install
npm run dev
Now that OpenFrame is running:
🎉 Congratulations! You now have OpenFrame running locally. Continue with First Steps to learn how to use the platform effectively.