View nitrous-readme
Sample application
A sample Meteor scaffold has been created for you in /home/nitrous/code/example. It is the equivalent to running the following:
cd ~/code
meteor create example
You can start the server by running ~/code/example/start-app from the command line. Once it is running, you can use the preview menu to view the application in a new tab. Opening the ~/code/example/start-app file is a good way of finding out how to get your own Meteor application running.
Feel free to remove the ~/code/example directory if you no longer need it.
Preview
View Panic1
Fri Apr 26 18:06:31 2013
panic(cpu 2 caller 0xffffff800032b692): "Negative open count?"@/SourceCache/xnu/xnu-1699.32.7/bsd/miscfs/specfs/spec_vnops.c:1426
Backtrace (CPU 2), Frame : Return Address
0xffffff807f433c10 : 0xffffff8000220792
0xffffff807f433c90 : 0xffffff800032b692
0xffffff807f433cd0 : 0xffffff800032f5f5
0xffffff807f433d20 : 0xffffff800031ba84
0xffffff807f433d60 : 0xffffff80002ffd2a
0xffffff807f433db0 : 0xffffff80002ffa2e
0xffffff807f433df0 : 0xffffff8000300f51
View declare.js
if (!module.constructor.prototype.declare) {
module.constructor.prototype.declare = function(deps, factory) {
if (!factory)
factory = deps;
var _self = this;
var req = function(id) {
if (id.indexOf("./") == 0)
id = _self.filename.match(/(.*\/)/)[1] + id.slice(2)
return require(id);