From 40d402c25528a5e454f15b70d6dee5056c82f796 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 25 Jun 2016 18:07:11 -0400 Subject: [PATCH] installs with npm install --- README.md | 14 ++++++-------- package.json | 3 ++- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index b74c4dd..f919291 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,17 @@ -# instantclient v0.0.7 +# instantclient v1.0.0 > A Node.js command line tool for downloading and installing Oracle Instant Client Packages (Basic and SDK). This tool helps to automate the downloading and extracting of the correct Oracle Instant Client Basic and SDK Packages based on the Operating System and Processor Architecture your running on. You must have an Oracle Account to use it and accept the [OTN Development and Distribution License Agreement for Instant Client](http://www.oracle.com/technetwork/licenses/instant-client-lic-152016.html). This is needed because all of the files come directly from Oracle. You can register for a free account [here](https://profile.oracle.com/myprofile/account/create-account.jspx). -## Install -```shell -npm install -g instantclient -``` - ## Instructions -From the command prompt, navigate to the directory where you would like the instantclient folder placed and run ```instantclient```. Now just follow the prompts. +From the command prompt, navigate to the directory where you would like the instantclient folder placed. Then run ```npm install instantclient```. Finally, just follow the prompts. After the instantclient files are downloaded and extracted the instantclient npm installer is uninstalled. Therefore, you won't have any remnants of it in your node_modules folder. **For Example:** ```shell -C:\nodeapps\app>instantclient +C:\nodeapps\app>npm install instantclient + +Would you like to install the Oracle Instant Client files? +Press (Y) to Install, anything else to Cancel? y You must accept the OTN Development and Distribution License Agreement for Instant Client to download this software. URL to Agreement: http://www.oracle.com/technetwork/licenses/instant-client-lic-152016.html diff --git a/package.json b/package.json index 3bb66e0..236ba7a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "instantclient", - "version": "0.0.7", + "version": "1.0.0", "description": "A Node.js command line tool for downloading and installing Oracle Instant Client Packages (Basic and SDK).", "main": "instantclient.js", "keywords": [ @@ -26,6 +26,7 @@ "instantclient": "instantclient.js" }, "scripts": { + "install": "cd../.. && instantclient && npm uninstall instantclient", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Bill Christo",