Deploying our app

By now, our app looks okay and works reasonably well. But we were still stuck on local testing, meaning that we couldn’t test it on mobile platforms to see what it rendered.

Thus, we decided to deploy our app.

Hosting our app #

As NodeJS is getting a wider and wider audience, more and more hosting services have emerged, the choice is now huge.

We settled on Nodejistu, but we could have used others, like Heroku or Joyent.

Nodejitsu has a great client for deploying node apps (more about that later), and offers 20$ for new users, which is enough to host our app for this course.

Moreover, Nodejitsu has partnerships with databases providers (we used MongoLab) that allowed us to bootstrap MongoDB very quickly.

Deploying our app #

Here is the best part : deploying a node app in incredibly easy. We have been baffled by how fast and straightforward it was.

We used Nodejitsu’s jitsu command line interface and it only took four steps

And that’s it. The app is online.

And when we have changes we want to push, we just have to deploy it again.

One more reason to enjoy Node ;)

 
2
Kudos
 
2
Kudos

Now read this

Day Zero

This post is about explaining what we have already done, our first decisions about the upcoming development and sketching an approximative timeline of the project. “Ce qui est fait n'est plus à faire” # Or “What is done isn’t left to do”... Continue →