Tech Tips

  1. Uncategorized
  2. 289 view

[Javascript][Meteor.js]Install and Hello World

meteor

Meteor.js

Meteor.js is one of Javascript server side framework.
It is based on Node.js, but it’s completely different from Node.js.
It allows us to connect client side and server side with seamless.
Surprising part is that we can write client and server side javascript as one file.
Please check official website to check detail explanation.

Target

I’ll try to install and make a simple app.

Environment

  • OS
    • Linux version 3.2.0-64-generic (buildd@kissel) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #97-Ubuntu SMP Wed Jun 4 22:04:21 UTC 2014
  • Meteor.js
    • 1.0.3.1

Install

It’s very easy. Just type following command.
curl install.meteor.com | /bin/sh
meteor --version

Hello World!

This is also very easy.
Just type following commands.
$ meteor create hello
hello: created.

To run your new app:
  cd hello
  meteor
$ cd hello
$ meteor
[[[[[ ~/work/test/hello ]]]]]

=> Started proxy.
=> Started your app.

=> App running at: http://localhost:3000/
meteor-hello
Let’s take a look at the page.
Directory organization is also simple.
$ tree
.
├── hello.css
├── hello.html
└── hello.js

0 directories, 3 files

You can check client and server side source code with looking at hello.js contents.

Uncategorized recent post

  1. Run Amazon FreeRTOS on M5Stack Core2 for AWS …

  2. Udacity Self-Driving Car Engineer Nanodegree …

  3. Install sbt 1.0.0 and run sample template

  4. Visualization of Neural Network and its Train…

  5. [Machine Learning]Created docker image includ…

関連記事

PAGE TOP