Skip to content

Commit 713adc0

Browse files
committed
Mention the oracle.com GitHub mirror as an install option
1 parent d59a5e3 commit 713adc0

File tree

1 file changed

+23
-7
lines changed

1 file changed

+23
-7
lines changed

INSTALL.md

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,8 +1432,26 @@ Some companies block access to github.com so `npm install oracledb`
14321432
will fail to download binaries, as will installing source code from
14331433
GitHub with `npm install oracle/node-oracledb.git#v2.1.0`.
14341434

1435-
To install node-oracledb in this case, compile the source code
1436-
included in the npm package:
1435+
There are two suggested methods for installation.
1436+
1437+
##### 3.12.3.1 Use the oracle.com GitHub mirror
1438+
1439+
Oracle has a mirror of the GitHub repository source code that can be
1440+
cloned with:
1441+
1442+
```
1443+
git clone git://oss.oracle.com/git/oracle/node-oracledb.git/
1444+
```
1445+
1446+
Binaries are not cloned. Follow the general instructions in
1447+
[Node-oracledb Installation from Source Code](#github) but install by
1448+
running `npm install path-to-your-clone-directory` from outside the
1449+
clone directory.
1450+
1451+
##### 3.12.3.2 Use the source code in the npm package
1452+
1453+
Alternatively you can compile the source code that is included in the
1454+
npm package:
14371455

14381456
- Download the node-oracledb package from npm, for example
14391457
`https://registry.npmjs.com/oracledb/-/oracledb-2.1.0.tgz`
@@ -1465,14 +1483,12 @@ included in the npm package:
14651483
npm install nan
14661484
```
14671485

1468-
- Install the build prerequisites for compilation, following the
1469-
[Node-oracledb Installation Instructions](#instructions).
1470-
1471-
- Build node-oracledb from outside the directory:
1472-
1486+
- Follow the general instructions in [Node-oracledb Installation from
1487+
Source Code](#github) but install by running
14731488
```
14741489
npm install ./oracledb_build
14751490
```
1491+
from outside the directory.
14761492

14771493
## <a name="installingv1"></a> 4. Installing Node-oracledb 1.x
14781494

0 commit comments

Comments
 (0)