60
Polyglot Gradle with Node.js and Play Evgeny Goldin Gradle eXchange, London October 28, 2013

Polyglot Gradle with Node.js and Play

Embed Size (px)

DESCRIPTION

This presentation describes Gradle ways to address Node.js and Play framework automation.

Citation preview

Page 1: Polyglot Gradle with Node.js and Play

Polyglot Gradle with Node.js and Play

Evgeny Goldin

Gradle eXchange, London October 28, 2013

Page 2: Polyglot Gradle with Node.js and Play
Page 3: Polyglot Gradle with Node.js and Play
Page 4: Polyglot Gradle with Node.js and Play
Page 5: Polyglot Gradle with Node.js and Play
Page 6: Polyglot Gradle with Node.js and Play

Device per need

Page 7: Polyglot Gradle with Node.js and Play

Language per need

Page 8: Polyglot Gradle with Node.js and Play

Build tool per need?

Page 9: Polyglot Gradle with Node.js and Play

The One

Page 10: Polyglot Gradle with Node.js and Play

A year with Node.js

Page 11: Polyglot Gradle with Node.js and Play

Dev => CI => Prod

Page 12: Polyglot Gradle with Node.js and Play

Dev => CI => Prod

Page 13: Polyglot Gradle with Node.js and Play

Dev => CI => Prod

Page 14: Polyglot Gradle with Node.js and Play

npm install

Page 15: Polyglot Gradle with Node.js and Play

node server.js

Page 16: Polyglot Gradle with Node.js and Play

forever start server.js

Page 17: Polyglot Gradle with Node.js and Play

Easy?

Page 18: Polyglot Gradle with Node.js and Play

Automate this!

Page 19: Polyglot Gradle with Node.js and Play

Bootstrap and versioning

Page 20: Polyglot Gradle with Node.js and Play

npm install

Page 21: Polyglot Gradle with Node.js and Play
Page 22: Polyglot Gradle with Node.js and Play
Page 23: Polyglot Gradle with Node.js and Play
Page 24: Polyglot Gradle with Node.js and Play

Before and After listeners

Page 25: Polyglot Gradle with Node.js and Play

Verified start and stop

Page 26: Polyglot Gradle with Node.js and Play

Jenkins?

Page 27: Polyglot Gradle with Node.js and Play

Chef?

Page 28: Polyglot Gradle with Node.js and Play

Jenkins + Chef + Gradle

Page 29: Polyglot Gradle with Node.js and Play

Can Gradle provision?

Page 30: Polyglot Gradle with Node.js and Play

./gradlew

Page 31: Polyglot Gradle with Node.js and Play

ghost.org

Page 32: Polyglot Gradle with Node.js and Play
Page 33: Polyglot Gradle with Node.js and Play

./gradlew -i start / stop / test / help

Page 34: Polyglot Gradle with Node.js and Play

build/*.sh

Page 35: Polyglot Gradle with Node.js and Play

npm install?

Page 36: Polyglot Gradle with Node.js and Play

package.json

Page 37: Polyglot Gradle with Node.js and Play

checksum

Page 38: Polyglot Gradle with Node.js and Play

npm install

Page 39: Polyglot Gradle with Node.js and Play

node_modules

=>

<checksum>.tar.gz

Page 40: Polyglot Gradle with Node.js and Play

~/.npm

PUT / GET

Page 41: Polyglot Gradle with Node.js and Play
Page 42: Polyglot Gradle with Node.js and Play

MongoDB / Redis

Page 44: Polyglot Gradle with Node.js and Play

Grunt / Cake

Page 45: Polyglot Gradle with Node.js and Play

./gradlew -i start / test / run

Page 46: Polyglot Gradle with Node.js and Play

Where does it lead?

Page 47: Polyglot Gradle with Node.js and Play
Page 48: Polyglot Gradle with Node.js and Play
Page 49: Polyglot Gradle with Node.js and Play
Page 50: Polyglot Gradle with Node.js and Play
Page 51: Polyglot Gradle with Node.js and Play
Page 52: Polyglot Gradle with Node.js and Play

Polyglot Gradle

Page 53: Polyglot Gradle with Node.js and Play

Ghost

Uptime

Zentasks

Page 54: Polyglot Gradle with Node.js and Play

Node.js / MongoDB

Play / sbt

grunt

Page 55: Polyglot Gradle with Node.js and Play

Bash is a new JavaScript

Page 56: Polyglot Gradle with Node.js and Play

Build tool per need

Page 57: Polyglot Gradle with Node.js and Play

The One?

Page 58: Polyglot Gradle with Node.js and Play

“Be water, my friend”~ BRUCE LEE

Page 59: Polyglot Gradle with Node.js and Play

Thank You