Created
February 8, 2012 04:39
-
-
Save jetpks/1765481 to your computer and use it in GitHub Desktop.
I'M A BUS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\eric\Documents\node_service>.\nssm.exe install thebus "C:\Program Files (x86)\nodejs\node.exe" "C:\Users\eric\Documents\static\server.js" "80" "C:\Users\eric\Documents\public\" | |
Service "thebus" installed successfully! | |
C:\Users\eric\Documents\node_service>net start thebus | |
The thebus service is starting. | |
The thebus service was started successfully. | |
C:\Users\eric\Documents\node_service>curl localhost | |
<html> | |
<head> | |
<title> O hai! </title> | |
</head> | |
<body> | |
<h1> All aboard the node bus! </h1> | |
<!-- I'm a busss! --> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment