-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
ws
to handle the WebSocket heavy lifting
- Loading branch information
Showing
8 changed files
with
143 additions
and
304 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,26 +20,7 @@ Push the code to Heroku. | |
|
||
``` | ||
$ git push heroku master | ||
Initializing repository, done. | ||
Counting objects: 178, done. | ||
Delta compression using up to 4 threads. | ||
Compressing objects: 100% (97/97), done. | ||
Writing objects: 100% (178/178), 47.42 KiB | 0 bytes/s, done. | ||
Total 178 (delta 89), reused 162 (delta 78) | ||
-----> Node.js app detected | ||
-----> Requested node range: 0.10.x | ||
-----> Resolved node version: 0.10.33 | ||
-----> Downloading and installing node | ||
-----> Writing a custom .npmrc to circumvent npm bugs | ||
-----> Exporting config vars to environment | ||
-----> Installing dependencies | ||
npm WARN package.json [email protected] No repository field. | ||
-----> Cleaning up node-gyp and npm artifacts | ||
-----> Building runtime environment | ||
-----> Discovering process types | ||
Procfile declares types -> web | ||
… | ||
-----> Compressing... done, 5.1MB | ||
-----> Launching... done, v3 | ||
http://still-tor-8707.herokuapp.com/ deployed to Heroku | ||
|
@@ -57,6 +38,19 @@ KEY: foobar | |
METHOD: rc4 | ||
``` | ||
|
||
Install project dependencies with `npm install`: | ||
|
||
``` | ||
$ npm install | ||
… | ||
[email protected] node_modules/minimist | ||
[email protected] node_modules/ws | ||
├── [email protected] | ||
├── [email protected] | ||
└── [email protected] | ||
``` | ||
|
||
Then run: | ||
|
||
``` | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.