https://github.com/ioncache/pandamonium
Entry into Node Knockout 4
https://github.com/ioncache/pandamonium
Last synced: 3 months ago
JSON representation
Entry into Node Knockout 4
- Host: GitHub
- URL: https://github.com/ioncache/pandamonium
- Owner: ioncache
- Created: 2016-01-19T21:58:05.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-19T21:58:41.000Z (about 10 years ago)
- Last Synced: 2023-03-11T00:33:28.277Z (about 3 years ago)
- Language: ApacheConf
- Size: 9.73 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Quick Start
~~~sh
# getting the code
git clone git@github.com:nko4/pandamonium.git && cd ./pandamonium/
# developing
npm install
npm start
# deploying (to http://pandamonium.2013.nodeknockout.com/)
./deploy nko
# ssh access
ssh deploy@pandamonium.2013.nodeknockout.com
ssh root@pandamonium.2013.nodeknockout.com
# or, if you get prompted for a password
ssh -i ./id_deploy deploy@pandamonium.2013.nodeknockout.com
ssh -i ./id_deploy root@pandamonium.2013.nodeknockout.com
~~~
Read more about this setup [on our blog][deploying-nko].
[deploying-nko]: http://blog.nodeknockout.com/post/66039926165/node-knockout-deployment-setup
## 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][deploying-nko].
### Vote KO Widget

Use our "Vote KO" widget to let from your app directly. Here's the code for
including it in your site:
~~~html
~~~
### 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](http://nodeknockout.com/resources),
including:
* [How to install node and npm](http://blog.nodeknockout.com/post/65463770933/how-to-install-node-js-and-npm)
* [Getting started with Express](http://blog.nodeknockout.com/post/65630558855/getting-started-with-express)
* [OAuth with Passport](http://blog.nodeknockout.com/post/66118192565/getting-started-with-passport)
* [Going Beyond “Hello World” with Drywall](http://blog.nodeknockout.com/post/65711111886/going-beyond-hello-world-with-drywall)
* [and many more](http://nodeknockout.com/resources#tutorials)…
## Have fun!
If you have any issues, we're on IRC in #nodeknockout on freenode, email us at
, or tweet [@node_knockout](https://twitter.com/node_knockout).