Skip to content
This repository was archived by the owner on Jan 22, 2021. It is now read-only.

Commit 81c1246

Browse files
committed
Update README.md
1 parent 232b480 commit 81c1246

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,12 @@ Simple as a pie!
177177

178178
This package assumes that assets (templates, SCSS, CSS ..) are stored in the `private` directory. Thanks to that, Meteor won't touch the HTML and CSS, which are non-JS files. Unfortunately, Meteor packages can't access content in `private` with the `Assets.getText()` method, so we need the *absolute path* to the template directory.
179179

180-
However, file paths are screwed up when bundling and deploying Meteor apps. Therefore, when running a deployed instance, **one of the following variables must return the absolute path to the bundle...**
180+
However, file paths are screwed up when bundling and deploying Meteor apps. Therefore, when running a deployed instance, **one of the following variables must return the absolute path to the bundle:**
181181

182-
1. For traditional hosts, manually set the `BUNDLE_PATH` environment variable. example: `/var/www/app/bundle`
183-
2. For deployments on hosts with ephemeral file systems like Modulus, the `process.env.APP_DIR` variable should be provided by host
182+
1. For traditional hosts, manually set the `BUNDLE_PATH` environment variable. For instance `/var/www/app/bundle`.
183+
2. For deployments on hosts with ephemeral file systems like Modulus, the `APP_DIR` environment variable should be provided by host. In that case, `APP_DIR` is used instead.
184+
185+
In development, neither of `BUNDLE_PATH` and `APP_DIR` are needed.
184186

185187
### Template Helpers
186188

0 commit comments

Comments
 (0)