Posts Tagged ‘node’

Deploying a Node app on Digital Ocean using Nginx.

July 4th, 2015 4 Comments

do_node

This post will show you how to deploy to Digital Ocean, if you need to sign up click the link there! First things first, select an image to use, I have been using Ubuntu and I find it nice and easy to use, so this post will be focused around that system.

Once you get an image selected you will now need to login to it. You will get an email with the IP and the password for the server. You need to use shh to login to this server. This is not as hard as it sounds. In your terminal:


    ssh root@ipaddress_here

(more…)

Working with Ember Data, Node, Express and MongoDB

April 16th, 2015 43 Comments

ember-mongo

This article was written in April 2015. This would have been Ember Data v1. If you are using Ember Data v2 some of the API might have changed, this article does not reflect those changes!

I have really been enjoying working with EmberJS lately, once you get over the learning curve and understand how things should relate, it becomes really fast and fun!

Lets take a look at how we can use Ember Data with Node (or io.js),Express and MongoDB. For this example lets use the Ember CLI to start an Ember application fast!
(more…)

Node and NPM no longer work after Mavericks update.

July 2nd, 2014 2 Comments

node-npm

I have had this issue a few times lately. I finally updated to Mavericks and low and behold node and npm no longer seem to work.

After updating to Mavericks, running node or the name of any npm package produced -bash: node: command not found

Here is how I went about getting it back up and running. These are a few ways I have found this that worked on all the computers I had this issue with.
(more…)