-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
port env var added app.json formatting free dyno
- Loading branch information
1 parent
78c6ffc
commit 0cc637c
Showing
4 changed files
with
33 additions
and
4 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 |
---|---|---|
@@ -1,7 +1,11 @@ | ||
# chat-example | ||
|
||
This is the source code for a very simple chat example used for | ||
the [Getting Started](http://socket.io/get-started/chat/) guide | ||
This is the source code for a very simple chat example used for | ||
the [Getting Started](http://socket.io/get-started/chat/) guide | ||
of the Socket.IO website. | ||
|
||
Please refer to it to learn how to run this application. | ||
|
||
You can also spin up a free Heroku dyno to test it out: | ||
|
||
[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/guille/chat-example) |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"name": "Socket-Chat-Example", | ||
"description": "my first socket.io app", | ||
"website": "https://github.com/guille/chat-example", | ||
"repository": "https://github.com/guille/chat-example", | ||
"logo": "https://node-js-sample.herokuapp.com/node.svg", | ||
"success_url": "/", | ||
"keywords": [ | ||
"node", | ||
"express", | ||
"socket.io", | ||
"realtime", | ||
"websocket" | ||
], | ||
"scripts": { | ||
}, | ||
"addons": [ | ||
], | ||
"env": { | ||
"BUILDPACK_URL": "https://github.com/heroku/heroku-buildpack-nodejs" | ||
} | ||
} |
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
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 |
---|---|---|
|
@@ -5,5 +5,8 @@ | |
"dependencies": { | ||
"express": "4.3.1", | ||
"socket.io": "1.0.2" | ||
}, | ||
"scripts": { | ||
"start": "node index.js" | ||
} | ||
} |