mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
perl -pi -e 's/Skybreak/Meteor/g' **/*
This commit is contained in:
18
README.md
18
README.md
@@ -1,15 +1,15 @@
|
||||
# Skybreak
|
||||
# Meteor
|
||||
|
||||
Skybreak is an ultra-simple environment for building modern web
|
||||
Meteor is an ultra-simple environment for building modern web
|
||||
applications.
|
||||
|
||||
With Skybreak you write apps:
|
||||
With Meteor you write apps:
|
||||
|
||||
* in pure Javascript
|
||||
* that send data over the wire, rather than HTML
|
||||
* using your choice of popular open-source libraries
|
||||
|
||||
Please, do not share or blog about Skybreak yet. It is experimental,
|
||||
Please, do not share or blog about Meteor yet. It is experimental,
|
||||
pre-release software. We hope it shows the direction of our thinking,
|
||||
and much of it will to change. We'd love to hear your feedback.
|
||||
|
||||
@@ -17,7 +17,7 @@ Documentation is available at http://preview.meteor.com/
|
||||
|
||||
## Quick Start
|
||||
|
||||
Install Skybreak (only OS X, for now):
|
||||
Install Meteor (only OS X, for now):
|
||||
|
||||
curl -sL bit.ly/n122Iu | /bin/sh
|
||||
|
||||
@@ -36,15 +36,15 @@ Deploy it to the world, for free:
|
||||
|
||||
## Slow Start (for developers)
|
||||
|
||||
If you want to run on the bleeding edge, or help develop Skybreak, you
|
||||
can run Skybreak directly from a git checkout.
|
||||
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
|
||||
|
||||
If you're the sort of person who likes to build everything from scratch,
|
||||
you can build all the Skybreak dependencies (node.js, npm, mongodb, etc)
|
||||
with the provided script. If you do not run this script, Skybreak will
|
||||
you can build all the Meteor dependencies (node.js, npm, mongodb, etc)
|
||||
with the provided script. If you do not run this script, Meteor will
|
||||
automatically download pre-compiled binaries when you first run it.
|
||||
|
||||
# OPTIONAL
|
||||
|
||||
@@ -8,7 +8,7 @@ cd ..
|
||||
|
||||
# Check for MacOS
|
||||
if [ `uname` != "Darwin" ] ; then
|
||||
echo "Skybreak only support MacOS X right now."
|
||||
echo "Meteor only support MacOS X right now."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ index c37e2a7..d4e71bc 100644
|
||||
- else
|
||||
- console.error(sysWarning);
|
||||
-}
|
||||
+// XXX Skybreak disabled
|
||||
+// XXX Meteor disabled
|
||||
+// var sysWarning;
|
||||
+// if (!sysWarning) {
|
||||
+// sysWarning = 'The "sys" module is now called "util". ' +
|
||||
|
||||
@@ -6,7 +6,7 @@ PARENT="/usr/local"
|
||||
|
||||
# Check for MacOS
|
||||
if [ `uname` != "Darwin" ] ; then
|
||||
echo "Sorry, Skybreak only supports MacOS X right now."
|
||||
echo "Sorry, Meteor only supports MacOS X right now."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -14,9 +14,9 @@ set -e
|
||||
trap "echo Installation failed." EXIT
|
||||
|
||||
if [ -e "$TARGET" ] ; then
|
||||
echo "Updating Skybreak in $TARGET"
|
||||
echo "Updating Meteor in $TARGET"
|
||||
else
|
||||
echo "Installing Skybreak to $TARGET"
|
||||
echo "Installing Meteor to $TARGET"
|
||||
fi
|
||||
|
||||
# if /usr/local doesn't exist or isn't writable, fix it with sudo.
|
||||
@@ -64,7 +64,7 @@ ln -s "$TARGET/bin/skybreak" "$PARENT/bin/skybreak"
|
||||
|
||||
cat <<EOF
|
||||
|
||||
Skybreak installed! To get started fast:
|
||||
Meteor installed! To get started fast:
|
||||
|
||||
$ skybreak create ~/my_cool_app
|
||||
$ cd ~/my_cool_app
|
||||
|
||||
@@ -261,7 +261,7 @@ _.extend(Bundle.prototype, {
|
||||
});
|
||||
|
||||
/**
|
||||
* Take the Skybreak application in app_dir, and compile it into a
|
||||
* Take the Meteor application in app_dir, and compile it into a
|
||||
* bundle at output_path. output_path will be created if it doesn't
|
||||
* exist (it will be a directory), and removed if it does exist.
|
||||
*
|
||||
@@ -423,7 +423,7 @@ exports.bundle = function (app_dir, output_path, options) {
|
||||
"require(require('path').join(__dirname, 'server/server.js'));\n");
|
||||
|
||||
fs.writeFileSync(path.join(build_path, 'README'),
|
||||
"This is a Skybreak application bundle. It has only one dependency,\n" +
|
||||
"This is a Meteor application bundle. It has only one dependency,\n" +
|
||||
"node.js (with the 'fibers' package). To run the application:\n" +
|
||||
"\n" +
|
||||
" $ npm install fibers\n" +
|
||||
@@ -434,7 +434,7 @@ exports.bundle = function (app_dir, output_path, options) {
|
||||
"application will listen. The default is 80, but that will require\n" +
|
||||
"root on most systems.\n" +
|
||||
"\n" +
|
||||
"Find out more about Skybreak at meteor.com.\n");
|
||||
"Find out more about Meteor at meteor.com.\n");
|
||||
|
||||
// XXX enhance dependencies to include all dependencies, not just
|
||||
// user code, so we can get reload behavior when developing packages
|
||||
|
||||
@@ -140,7 +140,7 @@ var files = module.exports = {
|
||||
}
|
||||
},
|
||||
|
||||
// True if we're in a git checkout of Skybreak, else false (we're in
|
||||
// True if we're in a git checkout of Meteor, else false (we're in
|
||||
// an installation.)
|
||||
in_checkout: function () {
|
||||
try {
|
||||
|
||||
@@ -41,7 +41,7 @@ p {
|
||||
<div class="header">Browser not supported</div>
|
||||
|
||||
<p>Sorry, the web browser you are using is not supported by
|
||||
Skybreak. Skybreak uses advanced JavaScript features and can not
|
||||
Meteor. Meteor uses advanced JavaScript features and can not
|
||||
support Internet Explorer version 7 and below.</p>
|
||||
|
||||
<p>Do yourself a favor download a modern browser,
|
||||
|
||||
@@ -206,7 +206,7 @@ var parse_url = function (url) {
|
||||
|
||||
if (parsed.pathname != '/' || parsed.hash || parsed.query) {
|
||||
process.stdout.write(
|
||||
"Sorry, Skybreak does not yet support specific path URLs, such as\n" +
|
||||
"Sorry, Meteor does not yet support specific path URLs, such as\n" +
|
||||
"http://www.example.com/blog . Please specify the root of a domain.\n");
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
@@ -85,9 +85,9 @@ var start_proxy = function (outer_port, inner_port, callback) {
|
||||
p.on('error', function (err) {
|
||||
if (err.code == 'EADDRINUSE') {
|
||||
process.stderr.write("Can't listen on port " + outer_port
|
||||
+ ", perhaps another Skybreak is running?\n");
|
||||
+ ", perhaps another Meteor is running?\n");
|
||||
process.stderr.write("\n");
|
||||
process.stderr.write("Running two copies of Skybreak in the same application directory\n");
|
||||
process.stderr.write("Running two copies of Meteor in the same application directory\n");
|
||||
process.stderr.write("will not work. If something else is using port " + outer_port + ", you can\n");
|
||||
process.stderr.write("specify an alternative port with --port <port>.\n");
|
||||
} else {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<h1>~name~</h1>
|
||||
|
||||
Skybreak is an ultra-simple environment for building websites:
|
||||
Meteor is an ultra-simple environment for building websites:
|
||||
<ul>
|
||||
<li>In pure Javascript</li>
|
||||
<li>That send data, not HTML, over the wire</li>
|
||||
|
||||
@@ -11,7 +11,7 @@ var usage = function() {
|
||||
"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 Skybreak project.\n" +
|
||||
"Use 'skybreak create <name>' to create a new Meteor project.\n" +
|
||||
"\n" +
|
||||
"Commands:\n");
|
||||
_.each(Commands, function (cmd) {
|
||||
@@ -32,9 +32,9 @@ var require_project = function (cmd) {
|
||||
// This is where you end up if you type 'skybreak' with no
|
||||
// args. Be gentle to the noobs..
|
||||
process.stdout.write(
|
||||
cmd + ": You're not in a Skybreak project directory.\n" +
|
||||
cmd + ": You're not in a Meteor project directory.\n" +
|
||||
"\n" +
|
||||
"To create a new Skybreak project:\n" +
|
||||
"To create a new Meteor project:\n" +
|
||||
" skybreak create <project name>\n" +
|
||||
"For example:\n" +
|
||||
" skybreak create myapp\n" +
|
||||
@@ -72,7 +72,7 @@ var findCommand = function (name) {
|
||||
for (var i = 0; i < Commands.length; i++)
|
||||
if (Commands[i].name === name)
|
||||
return Commands[i];
|
||||
process.stdout.write("'" + name + "' is not a Skybreak command. See " +
|
||||
process.stdout.write("'" + name + "' is not a Meteor command. See " +
|
||||
"'skybreak --help'.\n");
|
||||
process.exit(1);
|
||||
};
|
||||
@@ -95,7 +95,7 @@ Commands.push({
|
||||
"Usage: skybreak run [options]\n" +
|
||||
"\n" +
|
||||
"Searches upward from the current directory for the root directory of a\n" +
|
||||
"Skybreak project, then runs that project in local development\n" +
|
||||
"Meteor project, then runs that project in local development\n" +
|
||||
"mode. You can use the application by pointing your web browser at\n" +
|
||||
"localhost:3000. No internet connection is required.\n" +
|
||||
"\n" +
|
||||
@@ -139,7 +139,7 @@ Commands.push({
|
||||
process.stdout.write(
|
||||
"Usage: skybreak create <name>\n" +
|
||||
"\n" +
|
||||
"Make a subdirectory named <name> and create a new Skybreak project\n" +
|
||||
"Make a subdirectory named <name> and create a new Meteor project\n" +
|
||||
"there. You can also pass an absolute or relative path.\n");
|
||||
process.exit(1);
|
||||
}
|
||||
@@ -152,7 +152,7 @@ Commands.push({
|
||||
|
||||
if (files.find_app_dir(name)) {
|
||||
process.stderr.write(
|
||||
"You can't create a Skybreak project inside another Skybreak project.\n");
|
||||
"You can't create a Meteor project inside another Meteor project.\n");
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
@@ -176,13 +176,13 @@ Commands.push({
|
||||
|
||||
Commands.push({
|
||||
name: "update",
|
||||
help: "Upgrade to the latest version of Skybreak",
|
||||
help: "Upgrade to the latest version of Meteor",
|
||||
func: function (argv) {
|
||||
if (argv.help) {
|
||||
process.stdout.write(
|
||||
"Usage: skybreak update\n" +
|
||||
"\n" +
|
||||
"Checks to see if a new version of Skybreak is available, and if so,\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");
|
||||
process.exit(1);
|
||||
}
|
||||
@@ -199,7 +199,7 @@ Commands.push({
|
||||
process.stdout.write(
|
||||
"Usage: skybreak add <package> [package] [package..]\n" +
|
||||
"\n" +
|
||||
"Adds packages to your Skybreak project. You can add multiple\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");
|
||||
process.exit(1);
|
||||
@@ -236,7 +236,7 @@ Commands.push({
|
||||
process.stdout.write(
|
||||
"Usage: skybreak remove <package> [package] [package..]\n" +
|
||||
"\n" +
|
||||
"Removes a package previously added to your Skybreak project. For a\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");
|
||||
process.exit(1);
|
||||
@@ -269,7 +269,7 @@ Commands.push({
|
||||
process.stdout.write(
|
||||
"Usage: skybreak list [--using]\n" +
|
||||
"\n" +
|
||||
"Without arguments, lists all available Skybreak packages. To add one\n" +
|
||||
"Without arguments, lists all available Meteor packages. To add one\n" +
|
||||
"of these packages to your project, see 'skybreak add'.\n" +
|
||||
"\n" +
|
||||
"With --using, list the packages that you have added to your project.\n");
|
||||
@@ -370,11 +370,11 @@ Commands.push({
|
||||
"Opens a Mongo shell to view or manipulate collections.\n" +
|
||||
"\n" +
|
||||
"If site is specified, this is the hosted Mongo database for the deployed\n" +
|
||||
"Skybreak site.\n" +
|
||||
"Meteor site.\n" +
|
||||
"\n" +
|
||||
"If no site is specified, this is the current project's local development\n" +
|
||||
"database. In this case, the current working directory must be a\n" +
|
||||
"Skybreak project directory, and the Skybreak application must already be\n" +
|
||||
"Meteor project directory, and the Meteor application must already be\n" +
|
||||
"running.\n" +
|
||||
"\n" +
|
||||
"Instead of opening a shell, specifying --url (-U) will return a URL\n" +
|
||||
@@ -394,9 +394,9 @@ Commands.push({
|
||||
var mongod_port = find_mongo_port("mongo");
|
||||
if (!mongod_port) {
|
||||
process.stdout.write(
|
||||
"mongo: Skybreak isn't running.\n" +
|
||||
"mongo: Meteor isn't running.\n" +
|
||||
"\n" +
|
||||
"This command only works while Skybreak is running your application\n" +
|
||||
"This command only works while Meteor is running your application\n" +
|
||||
"locally. Start your application first.\n");
|
||||
process.exit(1);
|
||||
}
|
||||
@@ -422,7 +422,7 @@ Commands.push({
|
||||
|
||||
Commands.push({
|
||||
name: "deploy",
|
||||
help: "Deploy this project to Skybreak",
|
||||
help: "Deploy this project to Meteor",
|
||||
func: function (argv) {
|
||||
var opt = require('optimist')
|
||||
.alias('password', 'P')
|
||||
@@ -436,13 +436,13 @@ Commands.push({
|
||||
.usage(
|
||||
"Usage: skybreak deploy <site> [--password] [--delete]\n" +
|
||||
"\n" +
|
||||
"Deploys the project in your current directory to Skybreak's servers.\n" +
|
||||
"Deploys the project in your current directory to Meteor's servers.\n" +
|
||||
"\n" +
|
||||
"You can deploy to any available name under 'meteor.com'\n" +
|
||||
"without any additional configuration, for example,\n" +
|
||||
"'myapp.meteor.com'. If you deploy to a custom domain, such as\n" +
|
||||
"'myapp.mydomain.com', then you'll also need to configure your domain's\n" +
|
||||
"DNS records. See the Skybreak docs for details.\n" +
|
||||
"DNS records. See the Meteor docs for details.\n" +
|
||||
"\n" +
|
||||
"The --delete flag permanently removes a deployed application, including\n" +
|
||||
"all of its stored data.\n" +
|
||||
@@ -502,9 +502,9 @@ Commands.push({
|
||||
var mongod_port = find_mongo_port("reset");
|
||||
if (mongod_port) {
|
||||
process.stdout.write(
|
||||
"reset: Skybreak is running.\n" +
|
||||
"reset: Meteor is running.\n" +
|
||||
"\n" +
|
||||
"This command does not work while Skybreak is running your application.\n" +
|
||||
"This command does not work while Meteor is running your application.\n" +
|
||||
"Exit the running skybreak development server.\n");
|
||||
process.exit(1);
|
||||
}
|
||||
@@ -534,7 +534,7 @@ var main = function() {
|
||||
|
||||
if (argv.version) {
|
||||
var updater = require('../lib/updater.js');
|
||||
process.stdout.write("Skybreak version " + updater.CURRENT_VERSION + "\n");
|
||||
process.stdout.write("Meteor version " + updater.CURRENT_VERSION + "\n");
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
|
||||
2
examples/todos/server/bootstrap.js
vendored
2
examples/todos/server/bootstrap.js
vendored
@@ -15,7 +15,7 @@ Sky.startup(function () {
|
||||
},
|
||||
{name: "Next-gen frameworks",
|
||||
contents: [
|
||||
["Skybreak"],
|
||||
["Meteor"],
|
||||
["Derby + Racer"],
|
||||
["Capsule + Thoonk from &yet"],
|
||||
["Flatiron from Nodejitsu"],
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
<body>
|
||||
<h1>coffeeless</h1>
|
||||
|
||||
Welcome to Skybreak! Here is a button for you to press.
|
||||
Welcome to Meteor! Here is a button for you to press.
|
||||
|
||||
{{> button_demo }}
|
||||
|
||||
<!-- Skybreak is an incredibly fast way to create incredibly great
|
||||
<!-- Meteor is an incredibly fast way to create incredibly great
|
||||
websites
|
||||
- in pure Javascript
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ Sky.startup(function () {
|
||||
if (Lists.find().length === 0) {
|
||||
var list1 = Lists.insert({name: 'Things to do'});
|
||||
Todos.insert({list_id: list1._id,
|
||||
text: 'Write Skybreak app', tags: ['fun']});
|
||||
text: 'Write Meteor app', tags: ['fun']});
|
||||
Todos.insert({list_id: list1._id,
|
||||
text: 'Drink beer', tags: ['fun', 'yum']});
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Package.describe({
|
||||
summary: "Skybreak's latency-compensated distributed data framework",
|
||||
summary: "Meteor's latency-compensated distributed data framework",
|
||||
internal: true
|
||||
});
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Package.describe({
|
||||
summary: "Skybreak's machinery for making arbitrary templates reactive",
|
||||
summary: "Meteor's machinery for making arbitrary templates reactive",
|
||||
internal: true
|
||||
});
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Package.describe({
|
||||
summary: "Skybreak's client-side datastore: a port of MongoDB to Javascript",
|
||||
summary: "Meteor's client-side datastore: a port of MongoDB to Javascript",
|
||||
internal: true
|
||||
});
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Package.describe({
|
||||
summary: "Skybreak's automatic dependency framework",
|
||||
summary: "Meteor's automatic dependency framework",
|
||||
internal: true
|
||||
});
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Package.describe({
|
||||
summary: "Skybreak's reliable message delivery module",
|
||||
summary: "Meteor's reliable message delivery module",
|
||||
internal: true
|
||||
});
|
||||
|
||||
|
||||
4
skybreak
4
skybreak
@@ -60,8 +60,8 @@ if [ -d "$SCRIPT_DIR/.git" ]; then
|
||||
# In a checkout.
|
||||
|
||||
if [ ! -d "$SCRIPT_DIR/dev_bundle" ] ; then
|
||||
echo "It's the first time you've run Skybreak from a git checkout."
|
||||
echo "I will download a kit containing all of Skybreak's dependencies."
|
||||
echo "It's the first time you've run Meteor from a git checkout."
|
||||
echo "I will download a kit containing all of Meteor's dependencies."
|
||||
install_dev_bundle
|
||||
elif [ ! -f "$SCRIPT_DIR/dev_bundle/.bundle_version.txt" ] ||
|
||||
grep -qvx "$BUNDLE_VERSION" "$SCRIPT_DIR/dev_bundle/.bundle_version.txt" ; then
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
<body>
|
||||
<div><em>Warning: this uses Minimongo from a package, so it tests the
|
||||
Minimongo in your currently installed version of Skybreak, not the
|
||||
Minimongo in your Skybreak checkout. This is probably something you
|
||||
Minimongo in your currently installed version of Meteor, not the
|
||||
Minimongo in your Meteor checkout. This is probably something you
|
||||
could fix, and it would make you popular and good-looking.</em>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user