Getting Started
Table of Contents
- Downloading And Installing Stuff
- Setting Up Your Application Environment
- Install Your Web App
- Adding Style To Your Site …
Downloading And Installing Stuff
Download the following:
- node.js installer
- Heroku Toolbelt. This can take a while to install as files get downloaded during the process. If the installer seems to hang or freeze with a full progress bar, just wait a couple of minutes and it will continue.
- Sublime Text
Then install your new stuff.
Setting Up Your Application Environment
- Go to your
Documents
orMy Documents
folder. - Create a directory called
app
in Windows Explorer.
Adding ssh-keygen To Your PATH
There is an application called ssh-keygen
installed with Heroku
Toolbelt. Unfortunatly you can’t run it in your Command Window
unless you tell Windows where to find it.
You do this by adding it’s location to the Windows PATH environment variable:
-
Click the
Start
button on the bottem left corner of your screen. On the right side of theStart Menu
you’ll seeComputer
. Right click onComputer
and chooseProperties
from the pop-up / context menu. -
Click
Advanced Systems Settings
on the left. -
Click the
Advanced
tab and then theEnvironment Variables. . .
button. -
Double click
PATH
(or it might bePath
). It can either be listed underUser variables
orSystem variables
. -
Add
C:\Program Files (x86)\Git\bin
into theVariable Value
. Make sure you separate the value with;
.
Install Your Web App
- In Windows Explorer, simply hold Shift and right-click on the
app
folder. -
Choose Open Command Window here
-
Your black DOS Command Window should now be open and the current directory will be the
C:\Users\-YourUserName-\Documents\app
directory. -
In the new Command Window type the commands shown below.
When asked to type commands in the Command Window, make sure to press the enter key after every line and wait till each command task is compleated before entering the next line.
Open up a browser and visit http://localhost:3000/ to see your bare bones, node.js, express app.