Skip to content

Getting Started

Get your Oracle 23ai database with APEX and ORDS running locally in just a few minutes. This guide will walk you through the complete setup process.

Before you begin, make sure you have the following installed:

  • Docker or Podman (or any docker-compatible container runtime)
  • docker-compose / podman-compose
  • SQLcl with “sql” command in PATH
  • Bash-compatible shell

If you’re using macOS, read the Podman setup guide for additional configuration steps.

We recommend using WSL2 (Windows Subsystem for Linux) for the best experience.

Terminal window
git clone https://github.com/United-Codes/uc-local-apex-dev.git
cd uc-local-apex-dev
Terminal window
chmod +x ./local-23ai.sh ./setup.sh ./scripts/*.sh
Terminal window
# Setup the environment
./setup.sh
# Start the containers (use podman-compose if using Podman)
docker-compose up -d

Monitor the ORDS container logs to see the installation progress:

Terminal window
docker logs --follow local-ords

Wait for these key messages:

  • INFO : Database connection established.
  • INFO : Installing APEX on your DB please be patient.
  • INFO : APEX has been installed.
  • INFO : APEX ADMIN password has configured as 'Welcome_1'.

After APEX installation completes, run the post-installation script:

Terminal window
./scripts/after-first-db-start.sh

Optionally set up local SSL/HTTPS for ORDS.

For easier script access, add the repository to your PATH:

Terminal window
# Add to ~/.zshrc or ~/.bashrc
export PATH="/Users/username/path/to/uc-local-apex-dev:$PATH"

Then use scripts from anywhere:

Terminal window
local-23ai.sh create-user newproject
local-23ai.sh backup-all
local-23ai.sh stop

Now that your environment is running:

  1. Create your first workspace: local-23ai.sh create-user myproject
  2. Explore the available scripts: local-23ai.sh --help
  3. Start developing your APEX applications

If you see APEX as unavailable and the ORDS logs show that the config folder is not writable:

Terminal window
chmod -R 777 ./ords-config
docker-compose restart ords

Once setup is complete, you can access:

  • Username: admin or ADMIN
  • Password: Welcome_1