Skip to content

Commit cbafed0

Browse files
committed
Update readme for npm install in dist
- For deployed app, dist/node_modules is required - For development mode in ember-cli-fastboot, require can fallback to lookup working directory node_modules
1 parent 3a618d6 commit cbafed0

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,22 @@ build command:
6363
$ ember build --environment production
6464
```
6565

66-
(You will need to have already set up the Ember CLI FastBoot addon. For
67-
more information, see the [FastBoot quickstart][quickstart].)
66+
(You will need to have already set up the [ember-cli-fastboot](https://github.com/ember-fastboot/ember-cli-fastboot) addon.
67+
For more information, see the [FastBoot quickstart][quickstart].)
6868

6969
[quickstart]: https://www.ember-fastboot.com/quickstart
7070

7171
Once this is done, you will have a `dist` directory that contains the
72-
multi-environment build of your app. Upload this file to your FastBoot
73-
server.
72+
multi-environment build of your app.
73+
74+
Run the command to install run time node modules:
75+
76+
```sh
77+
$ cd dist/
78+
$ npm install
79+
```
80+
81+
Upload the `dist/` folder including `node_modules` to your FastBoot server.
7482

7583
### Command Line
7684

0 commit comments

Comments
 (0)