SydJS.com for fun
     and profit

LACHSTOCK
Also known as...
How to Update
     SydJS.com
            in
     10 Easy Steps
LACHSTOCK
Step 1
Get a GitHub account.
What is GitHub?
What is GitHub?




“GitHub is the best way to participate in that
collaboration: fork projects, send pull requests,
create issues, and monitor development with all
of your public and private code.”
GitHub is

 AWESOMESAUCE
   FOR YOUR
  OPENSOURCE
https://github.com/signup/free
Step 2
Get a Heroku account.
What is Heroku?
What is Heroku?




“Heroku provides a platform as a service (PAAS)
for building, deploying, and running cloud apps
using Ruby” [and now, NodeJS.]
Heroku is

             PAAS
            THAT IS
            BADASS
Sorry about that.
https://api.heroku.com/signup
Step 3
Install the Heroku Ruby gem.
http://docs.heroku.com/heroku-command
Step 4
Email Lachlan: lachlan@lachstock.com.au
Also free!
I need to know:
 - your GitHub username
 - your Heroku username (it’s your email)
Step 5
Check out the repository on GitHub.
https://github.com/sydjs/sydjs
Step 6
Install the required libraries.
Node.JS: http://nodejs.org/
npm: http://npmjs.org/
Express: http://expressjs.com/
Step 7
Write code.
Preferably something from the TODO list.
https://github.com/sydjs/sydjs/blob/master/TODO.tasks
Step 8
Add tests.
Some people would suggest you reverse that.
Step 7
Add tests.
Step 8
Write code.
Step 9
Check it works locally.
node server.js
Step 10
Deploy to the server.
git remote add heroku git@heroku.com:appname.git
git push heroku master
Counting objects: 5, done.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 318 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)

-----> Heroku receiving push
-----> Node app detected
       Compiled slug size is 260K
-----> Launching... done
       http://sydjs.com deployed to Heroku

To git@heroku.com:sydjs.git
   b5d1969..4dfcc49 master -> master
Game over,
man, game over.
If you get lost...
Both services have great help documentation.
http://help.github.com/




Step 2: http://help.github.com/
http://docs.heroku.com/




Step 2: http://help.github.com/
And there is always the mailing list!
http://librelist.com/browser/sydjs/
Email sydjs@librelist.com to join.
If you want to help but get stuck...
And the mailing list can’t help...
Bring your laptop next meeting & I’ll hook you up.
The slides are at:
http://slideshare.net/lachlanhardy/sydjscom
Questions?

SydJS.com