The Arcus Web application is built on DoneJS.
Currently, the i2web project requires Node 8.x LTS and NPM > v3. It is recommended that you install NVM so you can easily switch between NPM versions. After installing NVM, run:
cd i2web
nvm install
nvm use
Additionally, during the initial installation, you will need SSH access to Bitbucket. Refer to this article to set up your public SSH key.
Clone the repository into a local folder. Install all dependencies using
npm install donejs@1.0 -g
npm install
Tests and ESLint can be run with
npm run test
The first time, add a host entry for:
127.0.0.1 localdev.irisbylowes.com
Then Development mode can be started with:
donejs develop
or:
npm run develop
and navigating to
https://localdev.irisbylowes.com:8443
To build the application into a production bundle run
npm run build
In Unix environment the production application can be started like this:
npm run start