Skip to content

Commit

Permalink
mark code-blocks in readme as bash
Browse files Browse the repository at this point in the history
  • Loading branch information
Slava committed Aug 10, 2015
1 parent 449dbbb commit 08c1761
Showing 1 changed file with 32 additions and 14 deletions.
46 changes: 32 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,50 +15,66 @@ Documentation is available at http://docs.meteor.com/

Install Meteor:

curl https://install.meteor.com | /bin/sh
```bash
curl https://install.meteor.com | /bin/sh
```

Create a project:

meteor create try-meteor
```bash
meteor create try-meteor
```

Run it:

cd try-meteor
meteor
```bash
cd try-meteor
meteor
```

Deploy it to the world, for free:

meteor deploy try-meteor.meteor.com
```bash
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/meteor/meteor.git
cd meteor
```bash
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)
with the provided script. This requires git, a C and C++ compiler,
autotools, and scons. If you do not run this script, Meteor will
automatically download pre-compiled binaries when you first run it.

# OPTIONAL
./scripts/generate-dev-bundle.sh
```bash
# OPTIONAL
./scripts/generate-dev-bundle.sh
```

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).

./meteor --help
```bash
./meteor --help
```

From your checkout, you can read the docs locally. The `/docs` directory is a
meteor application, so simply change into the `/docs` directory and launch
the app:

cd docs/
../meteor
```bash
cd docs/
../meteor
```

You'll then be able to read the docs locally in your browser at
`http://localhost:3000/`.
Expand All @@ -71,8 +87,10 @@ Meteor releases or run using different Meteor releases using `--release`.
Aside from a short launcher shell script, Meteor installs itself inside your
home directory. To uninstall Meteor, run:

rm -rf ~/.meteor/
sudo rm /usr/local/bin/meteor
```bash
rm -rf ~/.meteor/
sudo rm /usr/local/bin/meteor
```

## Developer Resources

Expand Down

0 comments on commit 08c1761

Please sign in to comment.