From adc20648d50552d8e09256bb41769003077922c3 Mon Sep 17 00:00:00 2001 From: Jeremy Press Date: Thu, 25 Apr 2019 12:48:19 -0700 Subject: [PATCH] Docs: Update self host instructions with new commands (#993) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cd6c4a950..4b85b6945 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ To self-host the Box Content Preview library, follow these steps: 1. Either fork the repo and check out the version you want to host or download the specific version as a zip: * Check out a specific version with `git checkout v2.8.0` * Download a specific version as a zip from https://github.com/box/box-content-preview/releases -2. Install dependencies and build the library with `yarn install && yarn prod` +2. Install dependencies and build the library with `yarn install && yarn build:i18n && yarn:build:prod` 3. Self-host everything except for the `dev` folder from the `/dist` folder. You must not alter the folder structure and `third-party` needs to be in the same folder as `2.4.0`. For example, if you self-host using a `box-assets` directory, these URLs must be accessible: * https://cdn.YOUR_SITE.com/box-assets/2.4.0/en-US/preview.js * https://cdn.YOUR_SITE.com/box-assets/third-party/text/0.114.0/papaparse.min.js