You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/content/docs/getting-started/common-tasks.mdx
+47Lines changed: 47 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,53 @@ For development environments, you might want to disable archive logging. You wil
86
86
./scripts/disable-archive-logs.sh
87
87
```
88
88
89
+
### Manage APEX Account Expiration
90
+
91
+
#### Unexpire Accounts
92
+
93
+
If APEX_PUBLIC_USER or workspace accounts are locked due to password expiration, unlock them with:
94
+
95
+
```bash
96
+
./scripts/unexpire-accounts.sh
97
+
```
98
+
99
+
This is useful after database migrations or when accounts have expired due to time constraints.
100
+
101
+
#### Disable Password Expiration
102
+
103
+
To prevent APEX workspace accounts from expiring in the future:
104
+
105
+
```bash
106
+
./scripts/disable-password-expiration.sh
107
+
```
108
+
109
+
<Asidetype="note">
110
+
Even with password expiration disabled, users may still be prompted to change
111
+
their password on their first login after a migration.
112
+
</Aside>
113
+
114
+
## Workspace Import/Export
115
+
116
+
### Import All Exports
117
+
118
+
Automatically import all export files from the `./backups/import/` directory:
119
+
120
+
```bash
121
+
./scripts/import-all.sh
122
+
```
123
+
124
+
This is particularly useful during database migrations when you need to bulk import multiple workspaces and schemas. The script will provide a summary of successful and failed imports.
125
+
126
+
### Fix Workspace Export Issues
127
+
128
+
When re-importing APEX workspaces, you may encounter issues due to a [known bug with group assignments](https://forums.oracle.com/ords/apexds/post/apex-18-2-failing-to-import-workspace-5048). Fix this automatically:
129
+
130
+
```bash
131
+
./scripts/fix-ws-group-ids.sh
132
+
```
133
+
134
+
This script updates all export files in `./backups/import/` to remove problematic group ID parameters, allowing successful re-import.
description: Containerized APEX development environment - Have a 26ai with APEX and ORDS running in minutes
2
+
title: Oracle APEX Local Development Environment - Containerized Setup
3
+
description: Containerized Oracle APEX development environment with 26ai database and ORDS. Works with Docker, Podman, or any container runtime. Set up local APEX development in minutes with automated workspace management, backups, and testing tools.
4
4
sidebar:
5
5
order: 10
6
6
template: doc
7
7
hero:
8
-
tagline: Have a 26ai with APEX and ORDS running in a few minutes. A containerized development environment that makes Oracle APEX development on your local machine as easy as possible.
8
+
tagline: Set up Oracle APEX local development in minutes. A containerized environment that makes building and testing APEX applications on your machine effortless.
uc-local-apex-dev is a ready-to-use containerized development environment that automates common Oracle APEX development tasks. Get a complete Oracle 26ai database with APEX and ORDS running locally with optimal settings and convenient bash scripts for common operations.
19
+
uc-local-apex-dev is a containerized Oracle APEX development environment that **automates the tedious parts** of administering a local environment. Works with Docker, Podman, or any container runtime. Get a complete Oracle 26ai database with APEX and ORDS (with SSL) running on your machine, plus convenient bash scripts that handle workspace creation, backups, schema clearing, and script/APEX application testing with a single command.
Test APEX application installs and install scripts with automated validation
46
-
and dependency scanning.
55
+
<Cardtitle="PL/SQL Debugging"icon="seti:config">
56
+
Pre-configured with all necessary grants and settings for VS Code SQL
57
+
Developer debugger and SQLcl development.
47
58
</Card>
48
59
</CardGrid>
49
60
50
-
## Perfect for APEX Developers
61
+
## Perfect for Local APEX Development
51
62
52
-
This environment is specifically designed for Oracle APEX developers who want to:
63
+
This containerized environment is specifically designed for Oracle APEX developers who need a local development database and want to:
53
64
54
-
-**Develop Locally**: Work on APEX applications without needing a remote database
55
-
-**Test Repeatedly**: Clear schemas and test installation scripts multiple times
56
-
-**Debug Efficiently**: Use VS Code SQL Developer debugger with proper grants
57
-
-**Manage Workspaces**: Create and manage multiple development workspaces easily
58
-
-**Backup Regularly**: Protect your work with automated backup solutions
65
+
-**Develop Locally**: Work on APEX applications without needing a remote database, cloud instance, or apex.oracle.com
66
+
-**Test Installation Scripts**: Clear schemas and test APEX application installs multiple times with zero hassle
67
+
-**Rapid Prototyping**: Spin up new workspaces and test schemas instantly for experimenting with ideas
68
+
-**Debug PL/SQL Code**: Use VS Code SQL Developer debugger with all proper grants pre-configured
69
+
-**Manage Workspaces**: Create and manage multiple APEX workspaces and database schemas with ease
70
+
-**SSL**: Run ORDS with SSL locally to match production environments or to not run into protocol missatch errors
71
+
-**Automated Backups**: A single script to export all your schemas, APEX workspaces, and applications, plus ORDS modules
72
+
-**Safe Testing Environment**: Experiment with new APEX features without risk to production or shared development databases
59
73
60
74
## What's Included
61
75
62
-
-**Oracle Database 26ai**: Latest Oracle database with all features
63
-
-**Oracle APEX 24.2+**: Full APEX installation with admin access
64
-
-**Oracle ORDS**: REST Data Services for APEX connectivity
65
-
-**Automated Scripts**: Bash scripts for common development tasks
66
-
-**Development Grants**: All necessary permissions for debugging and development
76
+
-**Oracle Database 26ai Free**: Latest Oracle database with all development features
77
+
-**Latest Oracle APEX**: Full APEX installation with admin access
78
+
-**Oracle ORDS with SSL**: REST Data Services pre-configured with self-signed certificates
79
+
-**Automated Scripts**: 20+ bash scripts for common development tasks via simple wrapper
80
+
-**Development Grants**: All necessary permissions for debugging, DataPump, and workspace management
81
+
-**SQLcl Integration**: All created users automatically registered for instant connections
82
+
-**VS Code Integration**: All created users available in VS Code SQL Developer extension and PL/SQL debugging support
67
83
68
84
## Important Note
69
85
70
-
⚠️ **This is not for production use!** The environment is configured to be unsecure to make development as easy as possible. Use at your own risk and run backups regularly.
86
+
⚠️ **This is not for production use!** The environment is intentionally configured to be unsecure and optimized for ease of development. Passwords are stored in plain text, all security features are relaxed, and the focus is on speed and convenience over security. Use at your own risk and run backups regularly.
87
+
88
+
<scripttype="application/ld+json">
89
+
{
90
+
"@context": "https://schema.org",
91
+
"@type": "SoftwareApplication",
92
+
"name": "uc-local-apex-dev",
93
+
"applicationCategory": "DeveloperApplication",
94
+
"operatingSystem": "Linux, macOS, Windows",
95
+
"description": "Containerized Oracle APEX development environment with 26ai database and ORDS. Set up local APEX development in minutes with automated workspace management, backups, and testing tools.",
Copy file name to clipboardExpand all lines: docs/src/content/docs/migrations/26-1.md
+13-4Lines changed: 13 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,10 +15,19 @@ If you haven't installed uc-local-apex-dev yet, you can find the [setup instruct
15
15
- Data files are not compatible, so a dump/restore is needed
16
16
- ORDS 25.2 → ORDS 25.4
17
17
- This now a space optimized way with own tablespace for audit and APEX data from [Connor McDonald's blog post](https://connor-mcdonald.com/2023/12/18/the-ultimate-database-free-edition/).
18
-
- Scripts
19
-
-`test-script-install` to test SQL scripts in a clean environment ([more on test-script-install](/products/uc-local-apex-dev/docs/getting-started/install-apps-scripts/#test-sql-scripts))
20
-
-`used-space` to check the used space of the database ([more on used-space](/products/uc-local-apex-dev/docs/getting-started/common-tasks/#check-database-space-usage))
21
-
-`shrink-space` to reclaim space from tablespaces ([more on shrink-space](/products/uc-local-apex-dev/docs/getting-started/common-tasks/#shrink-database-files))
18
+
- New Scripts
19
+
-`import-all.sh`: A script to import all exports (created to automate bulk imports during migration).
20
+
-`unexpire-accounts.sh:`: Script to unexpire APEX_PUBLIC_USER and workspace accounts (addresses password expiration issues post-migration).
21
+
-`fix-ws-group-ids.sh` Script to fix p_group_ids in APEX workspace SQL files (resolves a known Oracle bug with group assignments during workspace imports).
22
+
-`disable-password-expiration.sh`: Script to disable password expiration for APEX workspace accounts (prevents future forced password changes).
23
+
- Enhanced scripts
24
+
-`backup-user.sh`: Added support for ORDS export directory and schema export.
25
+
-`import-backup.sh`: Added support for optional remap schema parameter and auto-confirmation flag (-y).
26
+
-`import-datapump.sh`: Updated usage message and added support for optional remap schema parameter.
27
+
-`test-script-install.sh`: Added support for auto-confirmation with -y flag.
28
+
-`test-app-install.sh`: Added support for auto-confirmation with -y flag.
29
+
-`clear-schema.sh`: Added support for auto-confirmation with -y flag.
30
+
-`create-user.sh`: Added username validation for hyphens and improved quoting.
Copy file name to clipboardExpand all lines: readme.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,20 @@
1
1
# UC Local APEX Dev
2
2
3
-
**Have a 23ai with APEX and ORDS running in a few minutes**
3
+
**Get Oracle 26ai with APEX and ORDS running in minutes. Automate the tedious parts of local APEX development.**
4
4
5
-
This set of scripts aims to make developing APEX on your local machine as easy as possible. It is a ready-to-use setup with common tasks automated as bash scripts.
5
+
A containerized development environment (works with Docker, Podman, or any container runtime) that automates common tasks and lets you focus on building APEX applications.
6
6
7
7
## Features
8
8
9
-
- ✅ Create users and workspaces with optimal settings with a single command
10
-
- ✅ All users are stored for easy access with SQLcl or VS Code SQL Developer
11
-
- ✅ Easily delete all data to test installation scripts multiple times
12
-
- ✅ Backup and restore your data, workspaces and apps
- ✅ Create APEX workspaces and database schemas with optimal development grants
11
+
- ✅ All users automatically registered in SQLcl and VS Code for instant access
12
+
- ✅ Built-in Oracle DataPump backup and restore
13
+
- ✅ ORDS with SSL support for production-like local development
14
+
- ✅ Test APEX application installs repeatedly in isolated test schemas
15
+
- ✅ Full PL/SQL debugging support with VS Code SQL Developer
16
16
17
-
**This is not for production use!**The environment is configured to be unsecure to make development as easy as possible.
17
+
**⚠️ This is not for production use!**Intentionally unsecure and optimized for ease of development. Passwords stored in plain text, security features relaxed. For local development only.
0 commit comments