Skip to content

Commit eb52920

Browse files
committed
Put the README example under the proper subheading. Some installation tweaks.
1 parent 6951903 commit eb52920

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,18 @@ features, and on functionality requests from
4343
Prerequisites:
4444

4545
- [Python 2.7](https://www.python.org/downloads/)
46-
- C++ Compiler (GCC, Visual Studio or similar)
47-
- Install the small, free [Oracle Instant Client](http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html) libraries if your database is remote. Or use a locally installed database such as the free [Oracle XE](http://www.oracle.com/technetwork/database/database-technologies/express-edition/overview/index.html) release.
46+
- C Compiler with support for C++ 11 (Xcode, gcc, Visual Studio or similar)
47+
- The small, free [Oracle Instant Client](http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html) libraries if your database is remote. Or use a locally installed database such as the free [Oracle XE](http://www.oracle.com/technetwork/database/database-technologies/express-edition/overview/index.html) release
48+
- Set `OCI_LIB_DIR` and `OCI_INC_DIR` during installation if the Oracle libraries and headers are in a non-default location
4849

49-
`npm install oracledb` to install from the [NPM registry](https://www.npmjs.com/package/oracledb).
50+
Run `npm install oracledb` to install from the [NPM registry](https://www.npmjs.com/package/oracledb).
5051

5152
See [INSTALL](https://github.com/oracle/node-oracledb/tree/master/INSTALL.md) for details.
5253

54+
## <a name="examples"></a> Examples
55+
56+
There are examples in the [examples](https://github.com/oracle/node-oracledb/tree/master/examples) directory.
57+
5358
### A simple query example:
5459

5560
```javascript
@@ -84,10 +89,6 @@ With Oracle's sample HR schema, the output is:
8489
[ [ 60, 'IT' ], [ 90, 'Executive' ], [ 100, 'Finance' ] ]
8590
```
8691

87-
## <a name="examples"></a> Examples
88-
89-
There are examples in the [examples](https://github.com/oracle/node-oracledb/tree/master/examples) directory.
90-
9192
## <a name="doc"></a> Documentation
9293

9394
See [Documentation for the Oracle Database Node.js Add-on](https://github.com/oracle/node-oracledb/tree/master/doc/api.md).

0 commit comments

Comments
 (0)