Skip to content

Commit fe67e30

Browse files
committed
readme!
1 parent e22ccb4 commit fe67e30

File tree

1 file changed

+5
-73
lines changed

1 file changed

+5
-73
lines changed

README.md

Lines changed: 5 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,6 @@
1-
## Quick Start
1+
#### Cool Stuff from the best of the best
22

3-
~~~sh
4-
# getting the code
5-
git clone [email protected]:nko4/theteam.git && cd ./theteam/
6-
7-
# developing
8-
npm install
9-
npm start
10-
11-
# deploying (to http://theteam.2013.nodeknockout.com/)
12-
./deploy nko
13-
14-
# ssh access
15-
16-
17-
# or, if you get prompted for a password
18-
ssh -i ./id_deploy [email protected]
19-
ssh -i ./id_deploy [email protected]
20-
~~~
21-
22-
Read more about this setup [on our blog][deploying-nko].
23-
24-
[deploying-nko]: http://blog.nodeknockout.com/post/66039926165/node-knockout-deployment-setup
25-
26-
## Tips
27-
28-
### Your Server
29-
30-
We've already set up a basic node server for you. Details:
31-
32-
* Ubuntu 12.04 (Precise) - 64-bit
33-
* server.js is at: `/home/deploy/current/server.js`
34-
* logs are at: `/home/deploy/shared/logs/server/current`
35-
* `runit` keeps the server running.
36-
* `sv restart serverjs` - restarts
37-
* `sv start serverjs` - starts
38-
* `sv stop serverjs` - stops
39-
* `ps -ef | grep runsvdir` - to see logs
40-
* `cat /etc/service/serverjs/run` - to see the config
41-
42-
You can use the `./deploy` script included in this repo to deploy to your
43-
server right now. Advanced users, feel free to tweak.
44-
45-
Read more about this setup [on our blog][deploying-nko].
46-
47-
### Vote KO Widget
48-
49-
![Vote KO widget](http://f.cl.ly/items/1n3g0W0F0G3V0i0d0321/Screen%20Shot%202012-11-04%20at%2010.01.36%20AM.png)
50-
51-
Use our "Vote KO" widget to let from your app directly. Here's the code for
52-
including it in your site:
53-
54-
~~~html
55-
<iframe src="http://nodeknockout.com/iframe/theteam" frameborder=0 scrolling=no allowtransparency=true width=115 height=25>
56-
</iframe>
57-
~~~
58-
59-
### Tutorials & Free Services
60-
61-
If you're feeling a bit lost about how to get started or what to use, we've
62-
got some [great resources for you](http://nodeknockout.com/resources),
63-
including:
64-
65-
* [How to install node and npm](http://blog.nodeknockout.com/post/65463770933/how-to-install-node-js-and-npm)
66-
* [Getting started with Express](http://blog.nodeknockout.com/post/65630558855/getting-started-with-express)
67-
* [OAuth with Passport](http://blog.nodeknockout.com/post/66118192565/getting-started-with-passport)
68-
* [Going Beyond “Hello World” with Drywall](http://blog.nodeknockout.com/post/65711111886/going-beyond-hello-world-with-drywall)
69-
* [and many more](http://nodeknockout.com/resources#tutorials)&hellip;
70-
71-
## Have fun!
72-
73-
If you have any issues, we're on IRC in #nodeknockout on freenode, email us at
74-
<[email protected]>, or tweet [@node_knockout](https://twitter.com/node_knockout).
3+
![](https://scontent-b-iad.xx.fbcdn.net/hphotos-ash4/140_504783344919_777_n.jpg)
4+
![](http://s3.amazonaws.com/i.jpg.to/l/6915)
5+
![](https://i.cloudup.com/zF5cJjjRrD-3000x3000.png)
6+
![](http://sam.jpg.to/)

0 commit comments

Comments
 (0)