Have trouble running the meteor's bundle

53 views Asked by At

I have a meteor project that runs well by 'meteor'.Then I try to use the bundle to run my meteor project and there're my operations below.

/*get the bundle*/
meteor build test/
cd test
tar -zxvf myproject.tar.gz

/*install the node packages and upgrade the node*/
npm install fibers
npm install n
n 0.10.36
/*set the env*/
export MONGO_URL='mongodb://127.0.0.1:31001'
export ROOT_URL='http://localhost:3000'
export PORT=3000

/*run*/
node bundle/main.js

It seems like very successful before I open the browser and visit the 'localhost:3000'. The page shows '

iron:router
Organize your Meteor application.

Router.route('/', function () {
  this.render('Home', {
    data: function () { return Items.findOne({_id: this.params._id}); }
  });
});

'

I will be appreciate if someone could give me some idea! ps: I'm so sorry that I haven't enough reputations to show the screen shot...

0

There are 0 answers