mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Improve "deploying" section of docs
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user