pushing a node app to Cloud Foundry
You won't believe what really happens!
Patrick Mueller - IBMer - @pmuellr - muellerware.org
http://pmuellr.github.io/slides/2014/04-what-happens-when-you-push-a-node-app
1 / 42
pushing a node app to Cloud Foundry You won't believe what really - - PowerPoint PPT Presentation
pushing a node app to Cloud Foundry You won't believe what really happens! Patrick Mueller - IBMer - @pmuellr - muellerware.org http://pmuellr.github.io/slides/2014/04-what-happens-when-you-push-a-node-app 1 / 42 Patrick Mueller developer
http://pmuellr.github.io/slides/2014/04-what-happens-when-you-push-a-node-app
1 / 42
2 / 42
3 / 42
4 / 42
5 / 42
6 / 42
7 / 42
8 / 42
9 / 42
10 / 42
11 / 42
12 / 42
13 / 42
14 / 42
push, the contents of your package.json file changes.
15 / 42
16 / 42
17 / 42
.gitignore .cfignore Procfile manifest.yml node_modules/... package.json server.js
18 / 42
19 / 42
.git, .svn, and .darcs files ignored by default
20 / 42
node_modules bower_components tmp
21 / 42
22 / 42
web: node [main program here]
23 / 42
24 / 42
25 / 42
26 / 42
27 / 42
28 / 42
host: hello-node-${random-word} memory: 128M
host property, so that your app's URL doesn't collide
29 / 42
30 / 42
31 / 42
32 / 42
33 / 42
node_modules entry in .cfignore file
34 / 42
35 / 42
36 / 42
37 / 42
38 / 42
39 / 42
40 / 42
41 / 42
42 / 42