sydjs.com

51
LACHSTOCK SydJS.com for fun and profit

Upload: lachlan-hardy

Post on 22-Nov-2014

1.644 views

Category:

Technology


0 download

DESCRIPTION

A presentation to SydJS on how to update and work with http://sydjs.com/

TRANSCRIPT

Page 1: SydJS.com

LACHSTOCK

SydJS.com for funand profit

Page 2: SydJS.com

Also known as...

Page 3: SydJS.com

LACHSTOCK

How to Update SydJS.com

in

10 Easy Steps

Page 4: SydJS.com

Get a GitHub account.Step 1

Page 5: SydJS.com

What is GitHub?

Page 6: SydJS.com

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

AWESOMESAUCE FOR YOUR

OPENSOURCE

GitHub is

Page 9: SydJS.com

Get a Heroku account.Step 2

Page 10: SydJS.com

What is Heroku?

Page 11: SydJS.com

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

PAASTHAT ISBADASS

Heroku is

Page 13: SydJS.com

Sorry about that.

Page 14: SydJS.com

https://api.heroku.com/signup

Page 15: SydJS.com

Install the Heroku Ruby gem.Step 3

Page 16: SydJS.com

http://docs.heroku.com/heroku-command

Page 18: SydJS.com

Also free!

Page 19: SydJS.com

I need to know: - your GitHub username - your Heroku username (it’s your email)

Page 20: SydJS.com

Check out the repository on GitHub.Step 5

Page 21: SydJS.com

https://github.com/sydjs/sydjs

Page 22: SydJS.com

Install the required libraries.Step 6

Page 23: SydJS.com

Node.JS: http://nodejs.org/

Page 24: SydJS.com

npm: http://npmjs.org/

Page 25: SydJS.com

Express: http://expressjs.com/

Page 26: SydJS.com

Write code.Step 7

Page 27: SydJS.com

Preferably something from the TODO list.

Page 29: SydJS.com

Add tests.Step 8

Page 30: SydJS.com

Some people would suggest you reverse that.

Page 31: SydJS.com

Add tests.Step 7

Page 32: SydJS.com

Write code.Step 8

Page 33: SydJS.com

Check it works locally.Step 9

Page 34: SydJS.com

node server.js

Page 35: SydJS.com

Deploy to the server.Step 10

Page 37: SydJS.com

git push heroku master

Page 38: SydJS.com

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

man, game over.Game over,

Page 40: SydJS.com

If you get lost...

Page 41: SydJS.com

Both services have great help documentation.

Page 42: SydJS.com

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

http://help.github.com/

Page 43: SydJS.com

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

http://docs.heroku.com/

Page 44: SydJS.com

And there is always the mailing list!

Page 47: SydJS.com

If you want to help but get stuck...

Page 48: SydJS.com

And the mailing list can’t help...

Page 49: SydJS.com

Bring your laptop next meeting & I’ll hook you up.

Page 50: SydJS.com

http://slideshare.net/lachlanhardy/sydjscomThe slides are at:

Page 51: SydJS.com

Questions?