Browse Source

Adding instructions to README

bodicsek 6 years ago
parent
commit
b48ce6f72f
1 changed files with 9 additions and 0 deletions
  1. 9 0
      README.md

+ 9 - 0
README.md

@@ -1,2 +1,11 @@
 # oci-node-client
 
+1. Install node + npm
+2. Run `npm install`
+3. Set your credentials in `app.js`
+    1. Set your `tenancyId` (OneConsole -> Administration -> Tenancy Details)
+    2. Set your `authUserId` (OneConsole -> top right corner icon -> Profile)
+    3. Set your `privateKeyPath` ([How to generate and upload your API keys](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm))
+    4. Set your `keyFingerprint` (OneConsole -> top right corner icon -> Profile -> API Keys)
+4. Create your request function as in `getUser` and `createVCN`
+5. Run `node app.js`