Upload
evgeny-goldin
View
3.185
Download
4
Embed Size (px)
DESCRIPTION
This presentation describes Gradle ways to address Node.js and Play framework automation.
Citation preview
Polyglot Gradle with Node.js and Play
Evgeny Goldin
Gradle eXchange, London October 28, 2013
Device per need
Language per need
Build tool per need?
The One
A year with Node.js
Dev => CI => Prod
Dev => CI => Prod
Dev => CI => Prod
npm install
node server.js
forever start server.js
Easy?
Automate this!
Bootstrap and versioning
npm install
Before and After listeners
Verified start and stop
Jenkins?
Chef?
Jenkins + Chef + Gradle
Can Gradle provision?
./gradlew
ghost.org
./gradlew -i start / stop / test / help
build/*.sh
npm install?
package.json
checksum
npm install
node_modules
=>
<checksum>.tar.gz
~/.npm
PUT / GET
MongoDB / Redis
github.com/fzaninotto/uptime
Grunt / Cake
./gradlew -i start / test / run
Where does it lead?
Polyglot Gradle
Ghost
Uptime
Zentasks
Node.js / MongoDB
Play / sbt
grunt
Bash is a new JavaScript
Build tool per need
The One?
“Be water, my friend”~ BRUCE LEE
Thank You
@evgeny_goldin
bitbucket.org/evgenyg/gradle-exchange
github.com/evgeny-goldin/gradle-plugins