The goal of this project is to bring together many other external libraries and modules for inclusion into a particular build of Brightspace.
The first time you build, install dependencies:
npm install
Rebuild assets to the dist
directory:
npm run build
To test against a local Brightspace environment, first start serving the compiled assets:
npm run serve
This will run a web server on port 8080
pointing at the dist
directory. You'll need to manually rebuild if any of the assets change.
To point your Brightspace instance at the local integration project:
- Go to your
{instance}/config/Infrastructure
directory - Edit
D2L.LP.Web.UI.Bsi.config.json
- Change the
baseLocation
property tohttp://localhost:8080/
(or your computer's hostname) - note the trailing/
- Restart IIS
The config file will get overwritten during the build.
The project assets (dist
directory) will be automatically published to the Brightspace CDN by its Travis CI job after each successful build of a tagged commit.
The publish location will be: https://s.brightspace.com/lib/bsi/{version}/
Contributions are welcome, please submit a pull request!
This repository is configured with EditorConfig rules and contributions should make use of them.