Improve "deploying" section of docs

This commit is contained in:
Sashko Stubailo
2014-10-06 19:31:20 -07:00
parent 8f878896b9
commit 597b8e116d

View File

@@ -732,12 +732,12 @@ more information, see [meteor deploy](#meteordeploy).
<h3 class="nosection">Running on your own infrastructure</h3>
You can also run your application on your own infrastructure, or any
other hosting provider like Heroku.
You can also run your application on your own infrastructure or any
other hosting provider, like Heroku.
To get started, run
$ meteor bundle myapp.tgz
$ meteor build my_directory
This command will generate a fully-contained Node.js application in the form of
a tarball. To run this application, you need to provide Node.js 0.10 and a
@@ -748,12 +748,12 @@ HTTP port for the application to listen on, and the MongoDB endpoint. If
you don't already have a MongoDB server, we can recommend our friends at
[Compose](http://compose.io).
$ cd bundle
$ cd my_directory
$ (cd programs/server && npm install)
$ PORT=3000 MONGO_URL=mongodb://localhost:27017/myapp node main.js
Other packages may require other environment variables (for example, the `email`
package requires a `MAIL_URL` environment variable).
Some packages might require other environment variables. For example,
the `email` package requires a `MAIL_URL` environment variable.
{{/markdown}}
</template>