From 3cf23cf8cc9f32bc10e21baea2eeb8fce4d96ed5 Mon Sep 17 00:00:00 2001 From: James Cori Date: Mon, 9 Jan 2017 13:16:32 -0500 Subject: [PATCH 1/2] Adding the engine descriptor for bluemix so it deploys correctly --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index 81e8462..1ec23e5 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "version": "1.0.0", "description": "", "main": "index.js", + "engines": { + "node": "7" + }, "scripts": { "lint": "eslint .", "lint:fix": "npm run lint -- --fix", From e1360ef058b06558fc9cbf0ee216ed7873d255c5 Mon Sep 17 00:00:00 2001 From: James Cori Date: Tue, 21 Feb 2017 15:41:53 -0500 Subject: [PATCH 2/2] Updated Deployment Instructions Made the bluemix deployment instructions a litle clearer --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 91616d6..9df046b 100644 --- a/README.md +++ b/README.md @@ -38,9 +38,9 @@ A starter pack for nodejs with bluemix deployment. 3. pick *SDK for Node.js* 4. pick any free *App name* and click *Create* 5. Click on the app and go to tab *Getting started* -6. (optional) Copy manifest.yml from *DOWNLOAD STARTER CODE* to the application directory -7. Complete steps 2-7 for deployment -8. if you copied `manifest.yml` you can just run `cf push` for redeployment +6. Download the Starter Code from Bluemix by clicking *DOWNLOAD STARTER CODE* +7. Unpack this starter code to a different location, and *only* copy the manifest.yml to your project directory +8. If you copied `manifest.yml` to your project directory, you can just run `cf push` for deployment. If you didn't copy over the manifest.yml, you'll have to tell `cf push ` ## Testing Import `postman/Bluemix starter.postman_collection.json` collection and `postman/bluemix starter.postman_environment.json` environment.