Jump to navigation

Post install - iameven.com

- Even Alander

I read some documentation and learned something about Heroku buildpacks.

Node.js build and serve

In my previous setups of deployment I've written a script to first build, then serve. However, scripts can be added to package.json and automatically run by the buildpack. Adding a command to scripts.start like node server.js saves declaring a .procfile, but even more cool, scripts.postinstall will run after installing all the node modules, but before running the start script, and that's how you hook things up.

  1. iameven.com
  2. : Fragment Identifiers
  3. : Valid HTML
  4. : 2017
  5. : Nostalgia driven web design
  6. : Lynx
  7. : The ssstraight story
  8. : Tetris
  9. : Snake
  10. : Post install
  11. : Re-building this website
  12. : Post stats 2014
  13. : Optimizing for git
  14. : Digging through old files
  15. : Arduino Uno
  16. : Building this website
  17. : Getting myself a logo
  18. : Warm Echo
  19. : Recent events
  20. : WTF, Spotify?
  21. : Numusic and Nuart
  22. : U don't simply uplay
  23. : Playing with time lapse
  24. : WZ
  25. : Fine Day
  26. : Restoring iameven
  27. : Ableton push
  28. : Ghost - Light weight Wordpress
  29. : Everything on the net should be dated
  30. : Euro Offshore container
  31. : Niels Juels street
  32. : Kverneland Næringspark
  33. : Hiking
  34. : Fume Tests
  35. : More Lexi pictures, in Sandveparken
  36. : Trustbuddy
  37. : Lexi visiting the beach
  38. : A Bit Weird
  39. : Weekend trip to Sirdal
  40. : Old sketches
  41. : HÃ¥vard's post stats
  42. : Rant about airports
  43. : The Good Old Days
  44. : Beetle
  45. : 206
  46. : Phone sketches
  47. : Noroff 3DDA
  48. : Panorama pictures, Sola and Stavanger
Logo