Skip to content
JavaScript CSS Other
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
public
.gitignore
README.md
deploy
deploy.conf
id_deploy
id_deploy.pub
package.json
server.js

README.md

Quick Start

# getting the code
cd ~/Repos
git clone git@github.com:nko4/ally.git nko4 && cd ./nko4/

# developing
npm install
npm start

# deploying (to http://ally.2013.nodeknockout.com/)
./deploy nko

# ssh access
ssh deploy@ally.2013.nodeknockout.com
ssh root@ally.2013.nodeknockout.com
# or, if you get prompted for a password
ssh -i ./id_deploy deploy@ally.2013.nodeknockout.com
ssh -i ./id_deploy root@ally.2013.nodeknockout.com

Read more about this setup on our blog.

Tips

Your Server

We've already set up a basic node server for you. Details:

  • Ubuntu 12.04 (Precise) - 64-bit
  • server.js is at: /home/deploy/current/server.js
  • logs are at: /home/deploy/shared/logs/server/current
  • runit keeps the server running.
    • sv restart serverjs - restarts
    • sv start serverjs - starts
    • sv stop serverjs - stops
    • ps -ef | grep runsvdir - to see logs
    • cat /etc/service/serverjs/run - to see the config

You can use the ./deploy script included in this repo to deploy to your server right now. Advanced users, feel free to tweak.

Read more about this setup on our blog.

Vote KO Widget

Vote KO widget

Use our "Vote KO" widget to let from your app directly. Here's the code for including it in your site:

<iframe src="http://nodeknockout.com/iframe/ally" frameborder=0 scrolling=no allowtransparency=true width=115 height=25>
</iframe>

Tutorials & Free Services

If you're feeling a bit lost about how to get started or what to use, we've got some great resources for you, including:

Have fun!

If you have any issues, we're on IRC in #nodeknockout on freenode, email us at help@nodeknockout.com, or tweet @node_knockout.

Something went wrong with that request. Please try again.