Clone the repository into client directory for Experience Builder >=1.9
Run npm install
from inside the cloned repository directory.
Upgrading hosted Experience Builder versions:
- Download and unzip latest experience builder developer edition
- Pull github repo into client folder
- Run npm install in both the client and server folders
- Remove existing service
- Stop exp-server
- cd /server
- npm run uninstall-windows-service
- Rename old installation with _backup
- Copy new installation from /ArcGISExperienceBuilder into D://R9Web
- Change server package.json to include path when installing service
- Add
--path=/eb"
to the end of thenpm run install-windows-service
command
- Add
- Create new service
- cd /server
- npm run install-windows-service
- Build widgets
- cd /client
- npm run build:dev
- Modify client/dist/site/widgets/set-portalurl/dist/runtime/widget.js
- Change the one remaining issue with putting EB behind reverse proxy with path.
- Change the
${window.location.protocol}//${window.location.host}/signininfo
to${window.location.protocol}//${window.location.host}/eb/signininfo