|
1 | 1 | # egg-oracle
|
2 | 2 |
|
3 | 3 | [![NPM version][npm-image]][npm-url]
|
4 |
| -[![build status][travis-image]][travis-url] |
5 |
| -[![Test coverage][codecov-image]][codecov-url] |
6 | 4 | [![David deps][david-image]][david-url]
|
7 | 5 | [![Known Vulnerabilities][snyk-image]][snyk-url]
|
8 | 6 | [![npm download][download-image]][download-url]
|
9 | 7 |
|
10 | 8 | [npm-image]: https://img.shields.io/npm/v/egg-oracle.svg?style=flat-square
|
11 | 9 | [npm-url]: https://npmjs.org/package/egg-oracle
|
12 |
| -[travis-image]: https://img.shields.io/travis/cuyl/egg-oracle.svg?style=flat-square |
13 |
| -[travis-url]: https://travis-ci.org/cuyl/egg-oracle |
14 |
| -[codecov-image]: https://img.shields.io/codecov/c/github/cuyl/egg-oracle.svg?style=flat-square |
15 |
| -[codecov-url]: https://codecov.io/github/cuyl/egg-oracle?branch=master |
16 | 10 | [david-image]: https://img.shields.io/david/cuyl/egg-oracle.svg?style=flat-square
|
17 | 11 | [david-url]: https://david-dm.org/cuyl/egg-oracle
|
18 | 12 | [snyk-image]: https://snyk.io/test/npm/egg-oracle/badge.svg?style=flat-square
|
|
22 | 16 |
|
23 | 17 | ## Install
|
24 | 18 |
|
| 19 | +> Prerequisites: |
| 20 | +> |
| 21 | +> - [Python 2.7](https://www.python.org/downloads/) |
| 22 | +> - C Compiler with support for C++ 11 (Xcode, gcc, Visual Studio or similar) |
| 23 | +> - Oracle 11.2, 12.1 or 12.2 client libraries. Use the small, free [Oracle Instant Client](http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html) "basic" and "SDK" packages if your database is remote. Or use the libraries and headers from a locally installed database such as the free [Oracle XE](http://www.oracle.com/technetwork/database/database-technologies/express-edition/overview/index.html) release. |
| 24 | +> |
| 25 | +> Oracle's standard client-server network compatibility applies: Oracle Client 12.2 can connect to Oracle Database 11.2 or greater. Oracle Client 12.1 can connect to Oracle Database 10.2 or greater. Oracle Client 11.2 can connect to Oracle Database 9.2 or greater. |
| 26 | +> - Set `OCI_LIB_DIR` and `OCI_INC_DIR` during installation if the Oracle libraries and headers are in non-default location |
| 27 | +> |
| 28 | +> See [INSTALL](https://github.com/oracle/node-oracledb/tree/master/INSTALL.md) for details. |
| 29 | +
|
| 30 | + |
25 | 31 | ```bash
|
26 | 32 | $ npm i egg-oracle --save
|
27 | 33 | ```
|
|
0 commit comments