sydjs.com
DESCRIPTION
A presentation to SydJS on how to update and work with http://sydjs.com/TRANSCRIPT
![Page 1: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/1.jpg)
LACHSTOCK
SydJS.com for funand profit
![Page 2: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/2.jpg)
Also known as...
![Page 3: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/3.jpg)
LACHSTOCK
How to Update SydJS.com
in
10 Easy Steps
![Page 4: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/4.jpg)
Get a GitHub account.Step 1
![Page 5: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/5.jpg)
What is GitHub?
![Page 6: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/6.jpg)
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.”
![Page 7: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/7.jpg)
AWESOMESAUCE FOR YOUR
OPENSOURCE
GitHub is
![Page 9: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/9.jpg)
Get a Heroku account.Step 2
![Page 10: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/10.jpg)
What is Heroku?
![Page 11: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/11.jpg)
What is Heroku?
“Heroku provides a platform as a service (PAAS) for building, deploying, and running cloud apps using Ruby” [and now, NodeJS.]
![Page 12: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/12.jpg)
PAASTHAT ISBADASS
Heroku is
![Page 13: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/13.jpg)
Sorry about that.
![Page 15: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/15.jpg)
Install the Heroku Ruby gem.Step 3
![Page 17: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/17.jpg)
Email Lachlan: [email protected] 4
![Page 18: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/18.jpg)
Also free!
![Page 19: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/19.jpg)
I need to know: - your GitHub username - your Heroku username (it’s your email)
![Page 20: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/20.jpg)
Check out the repository on GitHub.Step 5
![Page 22: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/22.jpg)
Install the required libraries.Step 6
![Page 26: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/26.jpg)
Write code.Step 7
![Page 27: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/27.jpg)
Preferably something from the TODO list.
![Page 28: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/28.jpg)
https://github.com/sydjs/sydjs/blob/master/TODO.tasks
![Page 29: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/29.jpg)
Add tests.Step 8
![Page 30: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/30.jpg)
Some people would suggest you reverse that.
![Page 31: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/31.jpg)
Add tests.Step 7
![Page 32: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/32.jpg)
Write code.Step 8
![Page 33: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/33.jpg)
Check it works locally.Step 9
![Page 34: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/34.jpg)
node server.js
![Page 35: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/35.jpg)
Deploy to the server.Step 10
![Page 36: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/36.jpg)
git remote add heroku [email protected]:appname.git
![Page 37: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/37.jpg)
git push heroku master
![Page 38: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/38.jpg)
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 [email protected]:sydjs.git b5d1969..4dfcc49 master -> master
![Page 39: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/39.jpg)
man, game over.Game over,
![Page 40: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/40.jpg)
If you get lost...
![Page 41: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/41.jpg)
Both services have great help documentation.
![Page 42: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/42.jpg)
Step 2: http://help.github.com/
http://help.github.com/
![Page 43: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/43.jpg)
Step 2: http://help.github.com/
http://docs.heroku.com/
![Page 44: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/44.jpg)
And there is always the mailing list!
![Page 45: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/45.jpg)
http://librelist.com/browser/sydjs/
![Page 47: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/47.jpg)
If you want to help but get stuck...
![Page 48: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/48.jpg)
And the mailing list can’t help...
![Page 49: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/49.jpg)
Bring your laptop next meeting & I’ll hook you up.
![Page 50: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/50.jpg)
http://slideshare.net/lachlanhardy/sydjscomThe slides are at:
![Page 51: SydJS.com](https://reader034.vdocuments.mx/reader034/viewer/2022051609/546fca66b4af9f16648b4610/html5/thumbnails/51.jpg)
Questions?