Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

perl -pi -e 's/skybreak/meteor/g' **/*

  • Loading branch information...
commit 05794f56431c591430b9e40c7e2ea34e6a516fb9 1 parent 23cd5b6
@n1mmy n1mmy authored
View
24 README.md
@@ -23,24 +23,24 @@ Install Meteor (only OS X, for now):
Create a project:
- skybreak create try-skybreak
+ meteor create try-meteor
Run it:
- cd try-skybreak
- skybreak
+ cd try-meteor
+ meteor
Deploy it to the world, for free:
- skybreak deploy try-skybreak.meteor.com
+ meteor deploy try-meteor.meteor.com
## Slow Start (for developers)
If you want to run on the bleeding edge, or help develop Meteor, you
can run Meteor directly from a git checkout.
- git clone git@github.com:skybreak/skybreak.git
- cd skybreak
+ git clone git@github.com:meteor/meteor.git
+ cd meteor
If you're the sort of person who likes to build everything from scratch,
you can build all the Meteor dependencies (node.js, npm, mongodb, etc)
@@ -50,17 +50,17 @@ automatically download pre-compiled binaries when you first run it.
# OPTIONAL
./admin/generate-dev-bundle.sh
-Now you can run skybreak directly from the checkout (if you did not
+Now you can run meteor directly from the checkout (if you did not
build the dependency bundle above, this will take a few moments to
download a pre-build version).
- ./skybreak --help
+ ./meteor --help
Or install to ```/usr/local``` like the normal install process. This
-will cause ```skybreak``` to be in your ```PATH```.
+will cause ```meteor``` to be in your ```PATH```.
./install.sh
- skybreak --help
+ meteor --help
## Developer Resources
@@ -68,6 +68,6 @@ Get in touch! We'd love to hear what you think. You can get involved
in several ways:
* Announcement list: sign up at http://preview.meteor.com/
-* Google group for discussion: http://groups.google.com/group/skybreak-users
-* IRC: ```#skybreak``` on ```irc.freenode.net```
+* Google group for discussion: http://groups.google.com/group/meteor-users
+* IRC: ```#meteor``` on ```irc.freenode.net```
* Email us: ```contact@meteor.com```
View
14 admin/cut-release.sh
@@ -32,7 +32,7 @@ if [ -d dev_bundle ] ; then
fi
# Force dev_bundle re-creation
-./skybreak --version || \
+./meteor --version || \
warn_and_exit "dev_bundle installation failed."
@@ -46,13 +46,13 @@ echo "Installing."
./install.sh
# get the version number.
-VERSION="$(/usr/local/bin/skybreak --version | sed 's/.* //')"
+VERSION="$(/usr/local/bin/meteor --version | sed 's/.* //')"
# tar it up
-TARBALL=~/skybreak-package-${VERSION}.tar.gz
+TARBALL=~/meteor-package-${VERSION}.tar.gz
echo "Tarring to: $TARBALL"
-tar -C /usr/local --exclude .skybreak/local -czf "$TARBALL" skybreak
+tar -C /usr/local --exclude .meteor/local -czf "$TARBALL" meteor
# commit to git
echo
@@ -90,9 +90,9 @@ cat <<EOF
EOF
read
-s3cmd -P put "$TARBALL" s3://com.skybreakplatform.static
-s3cmd -P put ./admin/install-s3.sh s3://com.skybreakplatform.static/update/
-s3cmd -P put ./admin/manifest.json s3://com.skybreakplatform.static/update/
+s3cmd -P put "$TARBALL" s3://com.meteorplatform.static
+s3cmd -P put ./admin/install-s3.sh s3://com.meteorplatform.static/update/
+s3cmd -P put ./admin/manifest.json s3://com.meteorplatform.static/update/
echo
echo "//////////////////////"
View
4 admin/generate-dev-bundle.sh
@@ -17,7 +17,7 @@ else
fi
-# save off skybreak checkout dir as final target
+# save off meteor checkout dir as final target
cd `dirname $0`/..
TARGET_DIR=`pwd`
@@ -128,7 +128,7 @@ index ee2bf49..a68f9cb 100644
}
- this.log.info('socket.io started');
-+ // this.log.info('socket.io started'); // XXX skybreak disabled
++ // this.log.info('socket.io started'); // XXX meteor disabled
};
Manager.prototype.__proto__ = EventEmitter.prototype
View
4 admin/increment-version.js
@@ -15,7 +15,7 @@ var UPDATE_FILES = ['app/lib/updater.js', 'admin/install-s3.sh',
['admin/manifest.json', 'g']];
// Files to update for dev_bundle
-var BUNDLE_FILES = ['admin/generate-dev-bundle.sh', 'skybreak'];
+var BUNDLE_FILES = ['admin/generate-dev-bundle.sh', 'meteor'];
var opt = require('optimist')
@@ -36,7 +36,7 @@ var CURRENT_VERSION = updater.CURRENT_VERSION;
var files = UPDATE_FILES;
if (argv.dev_bundle) {
- var version_path = path.join(__dirname, '..', 'skybreak');
+ var version_path = path.join(__dirname, '..', 'meteor');
var version_data = fs.readFileSync(version_path, 'utf8');
var version_match = /BUNDLE_VERSION=([\d\.]+)/.exec(version_data);
CURRENT_VERSION = version_match[1];
View
12 admin/install-s3.sh
@@ -1,7 +1,7 @@
#!/bin/bash
-URL="http://d377jur38fl888.cloudfront.net/skybreak-package-0.0.41.tar.gz"
-TARGET="/usr/local/skybreak"
+URL="http://d377jur38fl888.cloudfront.net/meteor-package-0.0.41.tar.gz"
+TARGET="/usr/local/meteor"
PARENT="/usr/local"
# Check for MacOS
@@ -59,16 +59,16 @@ curl --progress-bar $URL | tar -C "$PARENT" -xzf -
# add to $PATH
mkdir -p "$PARENT/bin"
-rm -f "$PARENT/bin/skybreak"
-ln -s "$TARGET/bin/skybreak" "$PARENT/bin/skybreak"
+rm -f "$PARENT/bin/meteor"
+ln -s "$TARGET/bin/meteor" "$PARENT/bin/meteor"
cat <<EOF
Meteor installed! To get started fast:
- $ skybreak create ~/my_cool_app
+ $ meteor create ~/my_cool_app
$ cd ~/my_cool_app
- $ skybreak
+ $ meteor
Or see the docs at:
View
2  admin/manifest.json
@@ -1,4 +1,4 @@
{
"version": "0.0.41",
- "url": "https://d377jur38fl888.cloudfront.net/skybreak-package-0.0.41.tar.gz"
+ "url": "https://d377jur38fl888.cloudfront.net/meteor-package-0.0.41.tar.gz"
}
View
12 app/lib/bundler.js
@@ -3,7 +3,7 @@
// /static [served by node for now]
// /server
// server.js, db.js, .... [contents of app/server]
-// node_modules [for now, contents of (skybreak_root)/lib/node_modules]
+// node_modules [for now, contents of (meteor_root)/lib/node_modules]
// /app.html
// /app [user code]
// /app.json: [data for server.js]
@@ -189,7 +189,7 @@ _.extend(Bundle.prototype, {
},
add_standard_packages: function () {
- // standard client packages (for now), for the classic skybreak stack
+ // standard client packages (for now), for the classic meteor stack
this.api.require('deps');
this.api.require('session');
this.api.require('livedata');
@@ -270,7 +270,7 @@ _.extend(Bundle.prototype, {
* - skip_dev_bundle : don't put any node_modules in the bundle.
* - symlink_dev_bundle : symlink bundle's node_modules to prebuilt
* local installation (to save startup time when running locally,
- * used by skybreak run).
+ * used by meteor run).
*/
exports.bundle = function (app_dir, output_path, options) {
options = options || {};
@@ -280,7 +280,7 @@ exports.bundle = function (app_dir, output_path, options) {
////////// Packages //////////
// has to come before user packages, because we don't (presently)
- // require packages to declare dependencies on 'standard skybreak
+ // require packages to declare dependencies on 'standard meteor
// stuff' like minimongo
bundle.add_standard_packages();
@@ -438,10 +438,10 @@ exports.bundle = function (app_dir, output_path, options) {
// XXX enhance dependencies to include all dependencies, not just
// user code, so we can get reload behavior when developing packages
- // or skybreak itself. that includes (1) any file that went in the
+ // or meteor itself. that includes (1) any file that went in the
// bundle (from 'static', 'app/server', or a package), (2)
// package.js for each package that was included. also conceptually
- // we need to restart on 'skybreak add'.
+ // we need to restart on 'meteor add'.
dependencies_json.extensions = bundle.registeredExtensions();
fs.writeFileSync(path.join(build_path, 'app.json'),
View
6 app/lib/files.js
@@ -94,14 +94,14 @@ var files = module.exports = {
return ret;
},
- // given a path, traverse upwards until we find a .skybreak
+ // given a path, traverse upwards until we find a .meteor
// directory that contains a 'packages' file. returns either the
// path to a top-level app or null for no app found. if filepath
// isn't given, use cwd.
find_app_dir: function (filepath) {
var test_dir = filepath || process.cwd();
while (test_dir) {
- if (path.existsSync(path.join(test_dir, '.skybreak/packages'))) {
+ if (path.existsSync(path.join(test_dir, '.meteor/packages'))) {
break;
}
var new_dir = path.dirname(test_dir);
@@ -151,7 +151,7 @@ var files = module.exports = {
return false;
},
- // Return the root of dev_bundle (probably /usr/local/skybreak in an
+ // Return the root of dev_bundle (probably /usr/local/meteor in an
// install, or (checkout root)/dev_bundle in a checkout..)
get_dev_bundle: function () {
if (files.in_checkout()) {
View
4 app/lib/project.js
@@ -5,7 +5,7 @@ var _ = require('./third/underscore.js');
var project = module.exports = {
_get_lines: function (app_dir) {
- var raw = fs.readFileSync(path.join(app_dir, '.skybreak/packages'), 'utf8');
+ var raw = fs.readFileSync(path.join(app_dir, '.meteor/packages'), 'utf8');
var lines = raw.split(/\r*\n\r*/);
// strip blank lines at the end
@@ -28,7 +28,7 @@ var project = module.exports = {
},
_write_packages: function (app_dir, lines) {
- fs.writeFileSync(path.join(app_dir, '.skybreak/packages'),
+ fs.writeFileSync(path.join(app_dir, '.meteor/packages'),
lines.join('\n') + '\n', 'utf8');
},
View
2  app/lib/updater.js
@@ -7,7 +7,7 @@ var semver = require("semver");
var manifest_options = {
host: 's3.amazonaws.com',
- path: '/com.skybreakplatform.static/update/manifest.json'
+ path: '/com.meteorplatform.static/update/manifest.json'
};
View
6 app/server/server.js
@@ -72,12 +72,12 @@ var run = function (bundle_dir) {
var info = JSON.parse(info_raw);
// start up app
- __skybreak_bootstrap__ = {require: require, startup_hooks: [], app: app};
+ __meteor_bootstrap__ = {require: require, startup_hooks: [], app: app};
Fiber(function () {
// (put in a fiber to let Sky.db operations happen during loading)
// pass in database info
- __skybreak_bootstrap__.mongo_url = mongo_url;
+ __meteor_bootstrap__.mongo_url = mongo_url;
// load app code
_.each(info.load, function (filename) {
@@ -98,7 +98,7 @@ var run = function (bundle_dir) {
});
// run the user startup hooks.
- _.each(__skybreak_bootstrap__.startup_hooks, function (x) { x(); });
+ _.each(__meteor_bootstrap__.startup_hooks, function (x) { x(); });
// only start listening after all the startup code has run.
app.listen(port, function() {});
View
2  app/skybreak/deploy.js
@@ -57,7 +57,7 @@ var deploy_app = function (url, app_dir, opt_set_password) {
};
var bundle_and_deploy = function (site, app_dir, password, set_password) {
- var build_dir = path.join(app_dir, '.skybreak/local/build_tar');
+ var build_dir = path.join(app_dir, '.meteor/local/build_tar');
var bundle_path = path.join(build_dir, 'bundle');
var bundle_opts = { skip_dev_bundle: true };
View
14 app/skybreak/run.js
@@ -109,10 +109,10 @@ var launch_mongo = function (app_dir, port, launch_callback, on_exit_callback) {
var mongod_path = path.join(files.get_dev_bundle(), 'mongodb/bin/mongod');
// store data in app_dir
- var data_path = path.join(app_dir, '.skybreak/local/db');
+ var data_path = path.join(app_dir, '.meteor/local/db');
files.mkdir_p(data_path, 0755);
- var pid_path = path.join(app_dir, '.skybreak/local/mongod.pid');
- var port_path = path.join(app_dir, '.skybreak/local/mongod.port');
+ var pid_path = path.join(app_dir, '.meteor/local/mongod.pid');
+ var port_path = path.join(app_dir, '.meteor/local/mongod.port');
// read old pid file, kill old process.
var pid;
@@ -323,7 +323,7 @@ var watch_files = function (app_dir, get_extensions, on_change) {
////////// Upgrade check //////////
-// XXX this should move to main skybreak command-line, probably?
+// XXX this should move to main meteor command-line, probably?
var start_update_checks = function () {
var update_check = function () {
updater.get_manifest(function (manifest) {
@@ -331,9 +331,9 @@ var start_update_checks = function () {
console.log("////////////////////////////////////////");
console.log("////////////////////////////////////////");
console.log();
- console.log("skybreak is out of date. Please run:");
+ console.log("meteor is out of date. Please run:");
console.log();
- console.log(" skybreak update");
+ console.log(" meteor update");
console.log();
console.log("////////////////////////////////////////");
console.log("////////////////////////////////////////");
@@ -352,7 +352,7 @@ exports.run = function (app_dir, bundle_path, bundle_opts, port) {
var outer_port = port || 3000;
var inner_port = outer_port + 1;
var mongo_port = outer_port + 2;
- var mongo_url = "mongodb://localhost:" + mongo_port + "/skybreak";
+ var mongo_url = "mongodb://localhost:" + mongo_port + "/meteor";
var deps = {};
var started_watching_files = false;
View
2  app/skybreak/skel/client/~name~.css
@@ -6,7 +6,7 @@ body {
line-height: 1.3;
}
-#skybreak {
+#meteor {
position: absolute;
left: 0px;
bottom: 0px;
View
2  app/skybreak/skel/client/~name~.html
@@ -4,7 +4,7 @@
<body>
<div id="wrapper">
- <img src="planes.png" id="skybreak">
+ <img src="planes.png" id="meteor">
<h1>~name~</h1>
View
68 app/skybreak/skybreak.js
@@ -5,13 +5,13 @@ var deploy = require('./deploy');
var usage = function() {
process.stdout.write(
-"Usage: skybreak [--version] [--help] <command> [<args>]\n" +
+"Usage: meteor [--version] [--help] <command> [<args>]\n" +
"\n" +
-"With no arguments, 'skybreak' runs the project in the current\n" +
+"With no arguments, 'meteor' runs the project in the current\n" +
"directory in local development mode. You can run it from the root\n" +
"directory of the project or from any subdirectory.\n" +
"\n" +
-"Use 'skybreak create <name>' to create a new Meteor project.\n" +
+"Use 'meteor create <name>' to create a new Meteor project.\n" +
"\n" +
"Commands:\n");
_.each(Commands, function (cmd) {
@@ -22,24 +22,24 @@ var usage = function() {
});
process.stdout.write("\n");
process.stdout.write(
-"See 'skybreak help <command>' for details on a command.\n");
+"See 'meteor help <command>' for details on a command.\n");
process.exit(1);
};
var require_project = function (cmd) {
var app_dir = files.find_app_dir();
if (!app_dir) {
- // This is where you end up if you type 'skybreak' with no
+ // This is where you end up if you type 'meteor' with no
// args. Be gentle to the noobs..
process.stdout.write(
cmd + ": You're not in a Meteor project directory.\n" +
"\n" +
"To create a new Meteor project:\n" +
-" skybreak create <project name>\n" +
+" meteor create <project name>\n" +
"For example:\n" +
-" skybreak create myapp\n" +
+" meteor create myapp\n" +
"\n" +
-"For more help, see 'skybreak --help'.\n");
+"For more help, see 'meteor --help'.\n");
process.exit(1);
}
return app_dir;
@@ -51,8 +51,8 @@ var find_mongo_port = function (cmd) {
var app_dir = require_project(cmd);
var fs = require("fs");
- var pid_path = path.join(app_dir, '.skybreak/local/mongod.pid');
- var port_path = path.join(app_dir, '.skybreak/local/mongod.port');
+ var pid_path = path.join(app_dir, '.meteor/local/mongod.pid');
+ var port_path = path.join(app_dir, '.meteor/local/mongod.port');
var port;
try {
@@ -73,7 +73,7 @@ var findCommand = function (name) {
if (Commands[i].name === name)
return Commands[i];
process.stdout.write("'" + name + "' is not a Meteor command. See " +
- "'skybreak --help'.\n");
+ "'meteor --help'.\n");
process.exit(1);
};
@@ -92,7 +92,7 @@ Commands.push({
.boolean('production')
.describe('production', 'Run in production mode. Minify and bundle CSS and JS files.')
.usage(
-"Usage: skybreak run [options]\n" +
+"Usage: meteor run [options]\n" +
"\n" +
"Searches upward from the current directory for the root directory of a\n" +
"Meteor project, then runs that project in local development\n" +
@@ -103,7 +103,7 @@ Commands.push({
"are automatically detected and applied to the running application.\n" +
"\n" +
"The application's database persists between runs. It's stored under\n" +
-"the .skybreak directory in the root of the project.\n"
+"the .meteor directory in the root of the project.\n"
);
new_argv = opt.argv;
@@ -114,7 +114,7 @@ Commands.push({
}
var app_dir = require_project("run");
- var bundle_path = path.join(app_dir, '.skybreak/local/build');
+ var bundle_path = path.join(app_dir, '.meteor/local/build');
var bundle_opts = { no_minify: !new_argv.production, symlink_dev_bundle: true };
require('./run.js').run(app_dir, bundle_path, bundle_opts, new_argv.port);
}
@@ -137,7 +137,7 @@ Commands.push({
func: function (argv) {
if (argv.help || argv._.length !== 1 || !argv._[0].length) {
process.stdout.write(
-"Usage: skybreak create <name>\n" +
+"Usage: meteor create <name>\n" +
"\n" +
"Make a subdirectory named <name> and create a new Meteor project\n" +
"there. You can also pass an absolute or relative path.\n");
@@ -180,7 +180,7 @@ Commands.push({
func: function (argv) {
if (argv.help) {
process.stdout.write(
-"Usage: skybreak update\n" +
+"Usage: meteor update\n" +
"\n" +
"Checks to see if a new version of Meteor is available, and if so,\n" +
"downloads and installs it. You must be connected to the internet.\n");
@@ -197,11 +197,11 @@ Commands.push({
func: function (argv) {
if (argv.help || !argv._.length) {
process.stdout.write(
-"Usage: skybreak add <package> [package] [package..]\n" +
+"Usage: meteor add <package> [package] [package..]\n" +
"\n" +
"Adds packages to your Meteor project. You can add multiple\n" +
"packages with one command. For a list of the available packages, see\n" +
-"'skybreak list'.\n");
+"'meteor list'.\n");
process.exit(1);
}
@@ -234,11 +234,11 @@ Commands.push({
func: function (argv) {
if (argv.help || !argv._.length) {
process.stdout.write(
-"Usage: skybreak remove <package> [package] [package..]\n" +
+"Usage: meteor remove <package> [package] [package..]\n" +
"\n" +
"Removes a package previously added to your Meteor project. For a\n" +
"list of the packages that your application is currently using, see\n" +
-"'skybreak list --using'.\n");
+"'meteor list --using'.\n");
process.exit(1);
}
@@ -267,10 +267,10 @@ Commands.push({
func: function (argv) {
if (argv.help) {
process.stdout.write(
-"Usage: skybreak list [--using]\n" +
+"Usage: meteor list [--using]\n" +
"\n" +
"Without arguments, lists all available Meteor packages. To add one\n" +
-"of these packages to your project, see 'skybreak add'.\n" +
+"of these packages to your project, see 'meteor add'.\n" +
"\n" +
"With --using, list the packages that you have added to your project.\n");
process.exit(1);
@@ -287,10 +287,10 @@ Commands.push({
} else {
process.stderr.write(
"This project doesn't use any packages yet. To add some packages:\n" +
-" skybreak add <package> <package> ...\n" +
+" meteor add <package> <package> ...\n" +
"\n" +
"To see available packages:\n" +
-" skybreak list\n");
+" meteor list\n");
}
return;
}
@@ -314,7 +314,7 @@ Commands.push({
func: function (argv) {
if (argv.help || argv._.length != 1) {
process.stdout.write(
-"Usage: skybreak bundle <output_file.tar.gz>\n" +
+"Usage: meteor bundle <output_file.tar.gz>\n" +
"\n" +
"Package this project up for deployment. The output is a tarball that\n" +
"includes everything necessary to run the application. See README in\n" +
@@ -333,7 +333,7 @@ Commands.push({
// machines, but worth it for humans)
var app_dir = path.resolve(require_project("bundle"));
- var build_dir = path.join(app_dir, '.skybreak/local/build_tar');
+ var build_dir = path.join(app_dir, '.meteor/local/build_tar');
var bundle_path = path.join(build_dir, 'bundle');
var output_path = path.resolve(argv._[0]); // get absolute path
require('../lib/bundler.js').bundle(app_dir, bundle_path);
@@ -365,7 +365,7 @@ Commands.push({
.alias('url', 'U')
.describe('url', 'return a Mongo database URL')
.usage(
-"Usage: skybreak mongo [--url] [site]\n" +
+"Usage: meteor mongo [--url] [site]\n" +
"\n" +
"Opens a Mongo shell to view or manipulate collections.\n" +
"\n" +
@@ -401,7 +401,7 @@ Commands.push({
process.exit(1);
}
- var mongo_url = "mongodb://127.0.0.1:" + mongod_port + "/skybreak";
+ var mongo_url = "mongodb://127.0.0.1:" + mongod_port + "/meteor";
if (new_argv.url)
console.log(mongo_url)
@@ -434,7 +434,7 @@ Commands.push({
.boolean('D')
.describe('delete', "permanently delete this deployment")
.usage(
-"Usage: skybreak deploy <site> [--password] [--delete]\n" +
+"Usage: meteor deploy <site> [--password] [--delete]\n" +
"\n" +
"Deploys the project in your current directory to Meteor's servers.\n" +
"\n" +
@@ -474,7 +474,7 @@ Commands.push({
func: function (argv) {
if (argv.help || argv._.length < 1 || argv._.length > 2) {
process.stdout.write(
-"Usage: skybreak logs <site>\n" +
+"Usage: meteor logs <site>\n" +
"\n" +
"Retrieves the server logs for the requested site.\n");
process.exit(1);
@@ -490,10 +490,10 @@ Commands.push({
func: function (argv) {
if (argv.help) {
process.stdout.write(
-"Usage: skybreak reset\n" +
+"Usage: meteor reset\n" +
"\n" +
"Reset the current project to a fresh state. Removes all local\n" +
-"data and kills any running skybreak development servers.\n");
+"data and kills any running meteor development servers.\n");
process.exit(1);
}
@@ -505,11 +505,11 @@ Commands.push({
"reset: Meteor is running.\n" +
"\n" +
"This command does not work while Meteor is running your application.\n" +
-"Exit the running skybreak development server.\n");
+"Exit the running meteor development server.\n");
process.exit(1);
}
- var local_dir = path.join(app_dir, '.skybreak/local');
+ var local_dir = path.join(app_dir, '.meteor/local');
files.rm_recursive(local_dir);
process.stdout.write("Project reset.\n");
View
4 app/skybreak/update.js
@@ -77,11 +77,11 @@ updater.get_manifest(function (manifest) {
files.rm_recursive(old_base_dir); // rm -rf !!
fs.renameSync(base_dir, old_base_dir);
- fs.renameSync(old_base_dir + "/tmp/skybreak", base_dir);
+ fs.renameSync(old_base_dir + "/tmp/meteor", base_dir);
// Launch post-upgrade script
var nodejs_path = path.join(base_dir, 'bin', 'node');
- var postup_path = path.join(base_dir, 'app', 'skybreak', 'post-upgrade.js');
+ var postup_path = path.join(base_dir, 'app', 'meteor', 'post-upgrade.js');
if (path.existsSync(nodejs_path) && path.existsSync(postup_path)) {
var postup_proc = spawn(nodejs_path, [postup_path]);
postup_proc.stderr.setEncoding('utf8');
View
12 install.sh
@@ -2,22 +2,22 @@
cd `dirname $0`
-TARGET_DIR=/usr/local/skybreak
+TARGET_DIR=/usr/local/meteor
rm -rf "$TARGET_DIR"
# make sure dev bundle exists before trying to install
-./skybreak --version || exit 1
+./meteor --version || exit 1
cp -a dev_bundle "$TARGET_DIR"
function CPR {
- tar -c --exclude .skybreak/local "$1" | tar -x -C "$2"
+ tar -c --exclude .meteor/local "$1" | tar -x -C "$2"
}
-cp skybreak "$TARGET_DIR/bin"
+cp meteor "$TARGET_DIR/bin"
CPR app "$TARGET_DIR"
CPR packages "$TARGET_DIR"
mkdir -p /usr/local/bin
-rm -f /usr/local/bin/skybreak
-ln -s "$TARGET_DIR/bin/skybreak" /usr/local/bin/skybreak
+rm -f /usr/local/bin/meteor
+ln -s "$TARGET_DIR/bin/meteor" /usr/local/bin/meteor
View
8 packages/livedata/mongo_driver.js
@@ -8,9 +8,9 @@
(function () {
-var Mongo = __skybreak_bootstrap__.require('mongodb');
+var Mongo = __meteor_bootstrap__.require('mongodb');
-var Future = __skybreak_bootstrap__.require('fibers/future');
+var Future = __meteor_bootstrap__.require('fibers/future');
//////////// Internal //////////
@@ -22,7 +22,7 @@ var with_collection_queue;
/**
* Initialize the Sky library
*
- * @param url {String} mongo DB URL (eg mongodb://localhost:27017/skybreak)
+ * @param url {String} mongo DB URL (eg mongodb://localhost:27017/meteor)
*/
function init (url) {
with_collection_queue = [];
@@ -166,6 +166,6 @@ Sky._mongo_driver = {
};
// start database
-init(__skybreak_bootstrap__.mongo_url)
+init(__meteor_bootstrap__.mongo_url)
})();
View
2  packages/startup/startup_server.js
@@ -1,5 +1,5 @@
if (typeof Sky === "undefined") Sky = {};
Sky.startup = function (callback) {
- __skybreak_bootstrap__.startup_hooks.push(callback);
+ __meteor_bootstrap__.startup_hooks.push(callback);
};
View
4 packages/stream/stream_server.js
@@ -8,9 +8,9 @@ if (typeof Sky === "undefined") Sky = {};
// basic socketio setup
- var socketio = __skybreak_bootstrap__.require('socket.io');
+ var socketio = __meteor_bootstrap__.require('socket.io');
- var io = socketio.listen(__skybreak_bootstrap__.app);
+ var io = socketio.listen(__meteor_bootstrap__.app);
io.configure(function() {
// Don't serve static files from socket.io. We serve them separately
// to get gzip and other fun things.
View
4 skybreak
@@ -71,11 +71,11 @@ if [ -d "$SCRIPT_DIR/.git" ]; then
fi
DEV_BUNDLE="$SCRIPT_DIR/dev_bundle"
- SKYBREAK="$SCRIPT_DIR/app/skybreak/skybreak.js"
+ SKYBREAK="$SCRIPT_DIR/app/meteor/meteor.js"
else
# In an install
DEV_BUNDLE=$(dirname "$SCRIPT_DIR")
- SKYBREAK="$DEV_BUNDLE/app/skybreak/skybreak.js"
+ SKYBREAK="$DEV_BUNDLE/app/meteor/meteor.js"
fi
export NODE_PATH="$DEV_BUNDLE/lib/node_modules"
View
4 tests/selenium/run-tests.sh
@@ -11,9 +11,9 @@ TOPDIR=`pwd`
cp -r examples/todos2 "$TMPDIR"
cd "$TMPDIR/todos2"
-rm -rf .skybreak/local
+rm -rf .meteor/local
-"$TOPDIR/skybreak" &
+"$TOPDIR/meteor" &
SKY_PID=$!
echo "Running $SKY_PID"
Please sign in to comment.
Something went wrong with that request. Please try again.