Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

examples readme

  • Loading branch information...
commit 9610a9b414a49bbddc06e9574ce803263775d9ed 1 parent 58bdb71
@Evangenieur authored
View
29 examples/README.md
@@ -1,11 +1,22 @@
# Examples
-1. install node.js + npm
-2. `npm install`
-3. `coffee nano_api.coffee`
-4. open your web browser and go test those URLs:
- http://localhost:3000/evangenieur/
- http://localhost:3000/evangenieur/my_channel/
- http://localhost:3000/evangenieur/my_channel/?message=new+message
- http://localhost:3000/evangenieur/my_channel/?message=new+message2
-
+## Install
+
+1. install node.js + npm
+2. git clone this repo and chdir to examples dir.
+3. run `npm install`
+3. Launch one of both servers `coffee nano_api.coffee` or `coffee nano_html.coffee`
+
+## Test URI
+open your web browser and go test those URLs:
+
+ * User Object : [http://localhost:3000/evangenieur/](http://localhost:3000/evangenieur/)
+ * User Channel Object : [http://localhost:3000/evangenieur/my_channel/](http://localhost:3000/evangenieur/my_channel)
+ * Push message to User Channel [http://localhost:3000/evangenieur/my_channel/?message=new+message](http://localhost:3000/evangenieur/my_channel/?message=new+message)
+ * Push Another message ... [http://localhost:3000/evangenieur/my_channel/?message=new+message2](http://localhost:3000/evangenieur/my_channel/?message=new+message2)
+
+## Deployment
+Get an account on [nodejitsu](http://jit.su)
+Modify subdomain in `package.json`
+Deploy to nodejitsu cloud `jitsu deploy`
+It's online on http://your_subdomain.jit.su/
View
0  examples/nano_api_with_format.coffee → examples/nano_html.coffee
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.