Node.js Infrastructure: Part 1
videos

Node.js Infrastructure: Part 1

Tutorial Details
  • Topic: Node.js
  • Difficulty: Intermediate
This entry is part 3 of 5 in the Node.js: Step by Step Session
« PreviousNext »

It’s been a while, but now I’m back! Theses next two sessions will dive into the infrastructure that’s grown up around Node. We’ll take a look at two tools that will help you manage your Node environment and make you more productive, beginning with NVM today.

Choose 720p for best clarity.

Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • duythien

    thank you Christopher Roach

  • http://treinosmart.com Caio Ribeiro Pereira

    I didn’t know about this NVM, it’s look like Ruby’s RVM……thanks!!

  • Max

    The title is a little misleading. I was expecting a talk that solely focused on the system architecture of a real-world Node.js deployment. Perhaps “Node.js Development Environment” would be more accurate…?

  • Samuel Mesquita

    VersionSwitcher manages not only node.js

    https://github.com/kwatch/versionswitcher

    • http://christopherroach.com Christopher Roach
      Author

      Thanks for the link Samuel. I had never come across versionswitcher before. I use python a lot in my personal and professional life, do you happen to know if it works well with virtualenv?

      Thanks again for the link.

  • Muurc

    Does this mean we’ll continue building our blog in Nodejs soon or is that project dropped?

    • http://christopherroach.com Christopher Roach
      Author

      Hi Muurc,

      To answer your question, yes we will definitely be continuing with the blog project. My goal in this series is to build the blog and along the way introduce several important concepts in how node works and also introduce several tools and libraries that you’ll likely use to create your node apps. This video and the next concentrate on a couple of the tools available. This one concentrates on NVM and the next on npm.

      My reasoning for introducing them both now are simple. I introduced NVM because node is currently in a constant state of flux and having a tool that allows you to keep several different versions of node on your machine could be quite handy. With npm, however, I’ve chosen to introduce it now, because we have reached the point in our application’s development where I want to start using some external libraries.

      So, we’ll cover npm in our next session and following that we’ll be back to the development of our blog application.

      As always, thanks for your comments and for watching the videos. I really appreciate the enthusiasm everyone has expressed towards the series and I love getting feedback. I hope you continue to enjoy the rest of the videos.

      Christopher

      • pixelBender67

        Chris you are the man, I’ve finally gotten around to watching your series on Node and kicking myself for not digging in sooner. Your style is superb and concise, making your videos a pleasure to watch and learn from! Hope you don’t take another hiatus and keep them coming!

  • dmcaodha

    This is a nice tutorial, thanks.

    I had a problem installing using Ubuntu. There were dependencies that I did not have installed. For anyone in the same boat there is a useful set of instructions over at stackoverflow.

    http://stackoverflow.com/questions/8108609/install-multiple-version-of-node-js-using-nvm-ubuntu

  • http://kronda.com Kronda

    I’m using zsh shell and the double square brackets in the .bashrc example threw an error. Here’s what worked:

    export NVM_HOME=”$HOME/.nvm”
    if [ -f "$NVM_HOME/.nvm.sh" ]; then
    source “$NVM_HOME/nvm.sh”
    fi

    Hope someone finds that helpful.

  • http://kronda.com Kronda

    Ooops. My comment above has an error. There shouldn’t be a period before the nvm.sh file as it is not hidden! Here’s a correction for copy/paste:

    ####################
    # Node
    ####################
    export NVM_HOME=”$HOME/.nvm”
    if [ -f "$NVM_HOME/nvm.sh" ]; then
    source “$NVM_HOME/nvm.sh”
    fi

    • shinokada

      Thanks, it works for me too. Good job, Kronda.

  • timebandit

    your tutorial is awesome and absolutely easy to follow thank you! what kind of promt are you using? especially the “time-part” ?

  • http://www.okadadesign.no/blog shin okada

    Tab completion didn’t work with zsh for me. Does anyone have any idea how to fix it?

  • Siridivi

    Thanks for sharing a being part of such a wonderful community.

  • pixelBender67

    I’m using https://github.com/visionmedia/n from TJ, I think it’s a simpler solution to NVM, check it out!

  • graciasbolt

    How to delete node after adding it??
    http://www.venkotech.com

  • swani

    Your tutorial was really helpful for me
    http://www.ifeel.edu.in

  • Adhika

    Node.js Infrastructure is my project topic. Really this link is very very helpful for me. Thank you for sharing this. :)
    http://www.jaro.in/