Skip to content

Commit 11d9e54

Browse files
committed
Make this Mac friendly.
1 parent 62a425e commit 11d9e54

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,5 @@ $RECYCLE.BIN/
8787
tmp
8888
dockerfiles
8989
oradata
90-
^sample.env
90+
!sample.env
9191
*.env

01-stage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
BASE_DIR=$(readlink -f -- "$0" | xargs dirname)
3+
BASE_DIR=$(pwd -P)
44

55
if [ -d 'dockerfiles' ]; then
66
rm -rf dockerfiles;

02-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ENV_FILE=${1:-.env}
44

55
. $ENV_FILE
66

7-
BASE_DIR=$(readlink -f -- "$0" | xargs dirname)
7+
BASE_DIR=$(pwd -P)
88
DB_VERSION=${DB_VERSION:-18.4.0}
99
DB_EDITION=${DB_EDITION:-XE}
1010

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@
2626
```bash
2727
$ . 01-stage.sh
2828
```
29-
5. Create a new file that contains the required variables. The `sample.env` file is provided and can be used, otherwise, modify as desired. The file should contain the following variables:
29+
5. Create a new file that contains the required variables. The `sample.env` file is provided but should **not** be used directly. Make a copy, e.g. `mysettings.env`, and modify as desired. The file should contain the following variables:
3030
```bash
3131
ORACLE_SID=XE
3232
ORACLE_PDB=XEPDB1
3333
ORACLE_PWD=Oracle18
3434
APEX_ADMIN_EMAIL=myemail@domain.com
3535
APEX_ADMIN_PWD=Oracle__18
36-
INSTALL_FILE_APEX=apex_18.2.zip
36+
INSTALL_FILE_APEX=apex_19.1.zip
3737
INSTALL_FILE_ORDS=ords-18.4.0.354.1002.zip
3838
DOCKER_ORDS_PORT=50080
3939
DOCKER_EM_PORT=55500
@@ -50,6 +50,10 @@
5050
$ . 03-run.sh axer mysettings.env
5151
```
5252

53+
> **IMPORTANT**
54+
>
55+
> The third script requires `sudo` rights. If your user does not have this privilege, comment out `sudo chown 54321:54321 oradata` and replace it with `chmod 777 oradata`.
56+
5357
Using the sample settings, the following are accessible:
5458

5559
| Port | Application | URL |

sample.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ APEX_PUBLIC_USER_PWD=Oracle18_1
77
APEX_LISTENER_PWD=Oracle18_2
88
APEX_REST_PUBLIC_USER_PWD=Oracle18_3
99
ORDS_PUBLIC_USER_PWD=Oracle18_4
10-
INSTALL_FILE_APEX=apex_18.2.zip
10+
INSTALL_FILE_APEX=apex_19.1.zip
1111
INSTALL_FILE_ORDS=ords-18.4.0.354.1002.zip
1212
DOCKER_ORDS_PORT=50080
1313
DOCKER_EM_PORT=55500

0 commit comments

Comments
 (0)