Install Meteor on Ubuntu 14.04

[Edit] 2016, Mar 30 Verision 1.3 of Meteor is now out – this installation instructions are still pretty much the same as below. If you’d like the updated install/upgrade instructions checkout Upgrading to Meteor 1.3 on Ubuntu 14.04. [/Edit]

I’ve been spending a lot of time working with Meteor recently. This framework uses javascript and MongoDB to create a full stack solution that is pretty easy to use. The installation is simple and painless on Ubuntu 14.04, but I’ll document my process here for reference and provide some links for learning more about Meteor.

I will be following the official Meteor install instructions. It is worth noting that Meteor installs its own versions of node and MongoDB – these will not clash with node and MongoDB if you have already them installed. This also means that you do not need to install node and MongoDB before Meteor.

The install procedure is a simple:

$ sudo curl https://install.meteor.com/ | sh

Once installed, you can check the version:

$ meteor --version
Meteor 1.2.1

Wow, it’s that simple!

Getting started

The Meteor tutorial available at meteor.com is really quite good. So, this is a nice place to start. To give you a flavor, open the terminal and cd to a good location, then create a project:

$ meteor create simple-todos
Created a new Meteor app in 'simple-todos'.

To run your new app:
  cd simple-todos
  meteor

If you are new to Meteor, try some of the learning resources here:
  https://www.meteor.com/learn

This create the project, simple-todos, and tells you what to do next:

$ cd simple-todos/
$ meteor
[[[[[ ~/Sandbox/meteor-play/simple-todos ]]]]]

=> Started proxy.
=> Started MongoDB.
=> Started your app.

=> App running at: http://localhost:3000/

If you open your browser at localhost, port 3000, the default meteor application will be running and you should be able to click a button to increment a counter – you stop the server by doing a control-c back at the terminal.

To learn more, continue on with the Meteor tutorial, it really is quite good and covers all, or most of, the basics. Other resources that I have been using and found to be useful are (not free, but not too $$) –

  • Discover Meteor book – covers similar material to the tutorial, but in much more depth. The first few chapter are free but the complete book is about (USD) $30 at this time.
  • Coursera Meteor specialization – a series of six courses, from html/css/js basics through full Meteor apps. These courses are not free, but Coursera does offer financial aid if you need it. The first courses are basic– but they also might go too fast if you are really an html/css/js beginner. The later courses cover lots of material and provide focus if you’d like more than books or blog posts. Strangely, the instructors don’t monitor the forums and there were no teaching-assistants so the students are on their own to figure things out – I wasn’t too impressed by this aspect of the non-free courses!

So, that’s the install and some places to learn more. If you have other resources to share, please leave a note – I’d love to check it out. I also plan on writing more about Meteor in the coming weeks and months. So, check back!

Tags

api [1]   arduino [1]   audio [2]   audio features [1]   babel [1]   Bayesian [7]   Beta [1]   blog setup [1]   bootstrap [1]   bottleneck [1]   c++ [1]   caret [1]   cmpy [1]   conditional probability [6]   coursera [1]   coursera intro to data science [3]   css [1]   cython [1]   d3 [2]   decision trees [2]   diy [1]   dropbox [1]   dsp [1]   e1071 [1]   essentia [1]   garmin [1]   geojson [1]   ggplot2 [1]   gis [2]   git [1]   gnuplot [1]   graphs [1]   html5 [1]   igraph [1]   ipython [1]   javascript [7]   joint probability [6]   json [1]   LaTeX [2]   LDA [1]   Lea [2]   machine learning [3]   marginal probability [6]   matplotlib [1]   meteor [2]   mir [1]   MongoDB [3]   music [2]   my python setup [5]   my ubuntu setup [10]   mysql [3]   networks [1]   networkx [1]   nodejs [5]   npm [3]   numexpr [1]   numpy [1]   octave [1]   Open Oakland [2]   openpyxl [1]   pandas [3]   patsy [1]   pip [2]   pweave [1]   pygraphviz [1]   pymc [1]   PySoundFile [2]   python [15]   Python [1]   python 2.7 [5]   python 3.4 [2]   pyyaml [1]   qgis [1]   R [1]   randomForest [1]   restview [1]   resume [1]   rpart [1]   running [1]   scikit-learn [3]   scipy [1]   screen [1]   server setup [1]   shapefile [1]   social networks [1]   Socrata [1]   sound [2]   sphinx [1]   sql [4]   sqlite3 [1]   ssh [1]   ssh keys [1]   statsmodels [1]   supervised learning [2]   sympy [1]   tableau [1]   tinkerer [2]   topic models [1]   tree [1]   ubuntu 14.04 [13]   Ubuntu 14.04 [3]   ubuntu 16.04 [4]   vim [2]   virtualbox [1]   virtualenv [4]   virtualenvwrapper [3]   VPS [1]   vundle [1]   webpack [1]   yaml [1]