Skip to content

Commit f4b3a25

Browse files
authored
Merge pull request #351 from opentripplanner/dev
Next release
2 parents bf20282 + c121587 commit f4b3a25

File tree

115 files changed

+10127
-4826
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+10127
-4826
lines changed

Diff for: README.md

+15
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,21 @@ Install the dependencies and start a local instance using the following script:
1818
yarn start
1919
```
2020

21+
## Deploying the UI
22+
23+
1. Build the js/css bundle by running `yarn build`. The build will appear in the `dist/` directory).
24+
2. Modify the `index.html` to point to `dist/index.js` (instead of `example.js`).
25+
3. Upload the following files to wherever you're deploying the UI:
26+
- `index.html` (modified to point to `dist/index.js`)
27+
- `example.css`
28+
- `dist/`
29+
- `index.js`
30+
- `index.js.map`
31+
- `index.css`
32+
- `index.css.map`
33+
34+
Note: only contents produced during build in the `dist/` directory are likely to change over time (the `index.html` and `example.css` files contain minimal code), so subsequent deployments will typically only need to replace the `dist/` contents.
35+
2136
## Library Documentation
2237

2338
More coming soon...

0 commit comments

Comments
 (0)