This is the project for the new angular.io (4.x) WebUI for FreeNAS 11. It is meant to coexist with current FreeNAS 11 Django/Dojo WebUI.
- npm 3
- Node.js >= 5, < 7
- Running FreeNAS 11 Nightly (Virtual?) Machine
Install the development requirements (FreeBSD):
# pkg install node6
# pkg install npm3
On some Operating Systems it is quickest to install npm > 3 first then install npm:
# npm install -g npm3
Checkout FreeNAS git repository:
$ git clone https://github.com/freenas/webui.git
$ cd webui
Install npm packages:
$ npm install
or (if you installed npm3 with npm4 or later)
$ npm3 install
Start development server pointing to your FreeNAS machine (in this example, address is 192.168.0.50):
$ env REMOTE=192.168.0.50 npm run server:dev
or
$ env REMOTE=192.168.0.50 npm3 run server:dev
This should open the browser with the WebUI, by default https://localhost:3000.