From 0254d52ac590045619f1c02fc50ebfd86e324add Mon Sep 17 00:00:00 2001
From: SaintPeter <rex.schrader@gmail.com>
Date: Sat, 9 Jan 2016 22:36:38 -0800
Subject: [PATCH] Change Heroku Article Name

---
 Heroku-Deployment-Guide.md                        |  65 ++++++++++++++++++++++
 Waypoint-Heroku-Deployment.md                     |  65 ----------------------
 images/Heroku-Deployment-Guide/new-heroku-app.png | Bin 0 -> 15536 bytes
 images/Waypoint-Heroku-Deploy/new-heroku-app.png  | Bin 15536 -> 0 bytes
 4 files changed, 65 insertions(+), 65 deletions(-)
 create mode 100644 Heroku-Deployment-Guide.md
 delete mode 100644 Waypoint-Heroku-Deployment.md
 create mode 100644 images/Heroku-Deployment-Guide/new-heroku-app.png
 delete mode 100644 images/Waypoint-Heroku-Deploy/new-heroku-app.png

diff --git a/Heroku-Deployment-Guide.md b/Heroku-Deployment-Guide.md
new file mode 100644
index 0000000..c97b702
--- /dev/null
+++ b/Heroku-Deployment-Guide.md
@@ -0,0 +1,65 @@
+# Heroku Deployment Guide
+
+1. Create a Heroku account.
+
+2. After making an account, you can go to your dashboard at https://dashboard.heroku.com/apps
+
+3. Click the + sign in the top right hand corner and click Create New App (just like you're making a new repo on github). Give it a name, and click Create.
+
+	<img src="./images/Heroku-Deployment-Guide/new-heroku-app.png" alt="Image for 'Create New Heroku App'">
+
+4. After creating the app you'll see its name in your dashboard. Click on it.
+
+5. You'll be taken to a dashboard for that app. Click on the Deploy tab.
+
+6. There you'll be pleased to find that you can connect to a github repo. In the Deployment Method section, choose Github and authenticate by signing into Github.
+
+7. Right below that, fill in your github repo name. (This of course requires that you've pushed a repo to github from either cloud9 or your local machine...and that you've correctly configured it. More on that below.)
+
+8. Scroll down again and click Automatic Deploy or scroll down even more and click Manual Deploy. After a few moments you should see your app running at your-repo-name.herokuapp.com. Sweet.
+
+## Creating your app locally or on Cloud9
+
+1. Make a new folder called timestamp-microservice (or whatever your project is called).
+
+	`$ mkdir timestamp-microservice && cd timestamp-microservice`
+
+2. Create the files you're going to need:
+
+	`$ touch .env .gitignore README.md index.html server.js`
+
+3. Install the packages that you need along the way
+
+	Examples:
+
+	`$ npm install --save express`
+
+	`$ npm install --save moment`
+
+	These will get added to a folder called node_modules in your root folder.
+
+4. Initialize the project with a package.json by doing `$ npm init`
+
+	It'll ask you a series of questions and create a package.json file in your root folder based on your answers and its defaults. If you've already created a file called server.js as mentioned above, this *essential* line will get added to your package.json file:
+
+	`"scripts": {
+    	"start": "node server.js"
+	}`
+
+	If you name it anything else, though, like 'index.js', that line won't get added and you'll have to manually add that. That's the default behavior as mentioned [here](https://docs.npmjs.com/files/package.json#default-values). You can install node modules before or after this step and they will get added to package.json automatically.
+
+5. When you're ready, create a new repository on github, copy the remote URL, and initialize the project locally by doing:
+
+	`$ git init`
+
+	`$ git add .`
+
+	`$ git commit -m "initial commit"`
+
+	`$ git remote add origin <your github url>`
+
+	`$ git push -u origin master`
+
+Tip: In your server.js file, make sure to use `app.listen(process.env.PORT || <default port>)` so that the app works on heroku.
+
+Return to step 7 above.
diff --git a/Waypoint-Heroku-Deployment.md b/Waypoint-Heroku-Deployment.md
deleted file mode 100644
index 39aea71..0000000
--- a/Waypoint-Heroku-Deployment.md
+++ /dev/null
@@ -1,65 +0,0 @@
-# Heroku Deployment Guide
-
-1. Create a Heroku account. 
-
-2. After making an account, you can go to your dashboard at https://dashboard.heroku.com/apps
-
-3. Click the + sign in the top right hand corner and click Create New App (just like you're making a new repo on github). Give it a name, and click Create.
-
-	<img src="./images/Waypoint-Heroku-Deploy/new-heroku-app.png" alt="Image for 'Create New Heroku App'">
-
-4. After creating the app you'll see its name in your dashboard. Click on it.
-
-5. You'll be taken to a dashboard for that app. Click on the Deploy tab.
-
-6. There you'll be pleased to find that you can connect to a github repo. In the Deployment Method section, choose Github and authenticate by signing into Github.
-
-7. Right below that, fill in your github repo name. (This of course requires that you've pushed a repo to github from either cloud9 or your local machine...and that you've correctly configured it. More on that below.)
-
-8. Scroll down again and click Automatic Deploy or scroll down even more and click Manual Deploy. After a few moments you should see your app running at your-repo-name.herokuapp.com. Sweet.
-
-## Creating your app locally or on Cloud9
-
-1. Make a new folder called timestamp-microservice (or whatever your project is called).
-
-	`$ mkdir timestamp-microservice && cd timestamp-microservice`
-
-2. Create the files you're going to need:
-
-	`$ touch .env .gitignore README.md index.html server.js`
-
-3. Install the packages that you need along the way
-
-	Examples:
-
-	`$ npm install --save express`
-
-	`$ npm install --save moment`
-
-	These will get added to a folder called node_modules in your root folder.
-
-4. Initialize the project with a package.json by doing `$ npm init`
-
-	It'll ask you a series of questions and create a package.json file in your root folder based on your answers and its defaults. If you've already created a file called server.js as mentioned above, this *essential* line will get added to your package.json file:
-
-	`"scripts": {
-    	"start": "node server.js"
-	}`
-
-	If you name it anything else, though, like 'index.js', that line won't get added and you'll have to manually add that. That's the default behavior as mentioned [here](https://docs.npmjs.com/files/package.json#default-values). You can install node modules before or after this step and they will get added to package.json automatically.
-
-5. When you're ready, create a new repository on github, copy the remote URL, and initialize the project locally by doing:
-
-	`$ git init`
-
-	`$ git add .`
-
-	`$ git commit -m "initial commit"`
-
-	`$ git remote add origin <your github url>`
-
-	`$ git push -u origin master`
-
-Tip: In your server.js file, make sure to use `app.listen(process.env.PORT || <default port>)` so that the app works on heroku.
-
-Return to step 7 above.
diff --git a/images/Heroku-Deployment-Guide/new-heroku-app.png b/images/Heroku-Deployment-Guide/new-heroku-app.png
new file mode 100644
index 0000000000000000000000000000000000000000..40367ad1f7656eaa21e596a8b7ed11c69d23c459
GIT binary patch
diff --git a/images/Waypoint-Heroku-Deploy/new-heroku-app.png b/images/Waypoint-Heroku-Deploy/new-heroku-app.png
deleted file mode 100644
index 40367ad1f7656eaa21e596a8b7ed11c69d23c459..0000000000000000000000000000000000000000
GIT binary patch
