commit | b2feaacf72115b3764e7fa929af11eba0fc367da | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Thu Sep 21 13:16:54 2017 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Thu Sep 21 13:16:54 2017 +0200 |
tree | 22861e64eddda1d77d3b2b7382690578ff57727c | |
parent | 61f1a69eaf004a22b520948eab60f799ce3946a5 [diff] |
backend CHANGE move check for inventory storage from schemas source file the check is generic function usable for other inventory parts
Web-based NETCONF management center
The application is created as a module to the CESNET/liberouter-gui framework.
$ git clone --branch devel --recursive https://github.com/CESNET/liberouter-gui $ cd liberouter-gui/modules $ git clone https://github.com/CESNET/Netopeer2GUI $ cd .. $ ln -s ../../../modules/Netopeer2GUI/api ./api/liberouterapi/modules/netopeer $ ln -s ../../../../modules/Netopeer2GUI/www/ ./www/src/app/modules/netopeer Add following lines into liberouter-gui/www/src/app/modules.ts: import { NetopeerModule } from './modules/netopeer/netopeer.module'; export const modules: Array<Object> = [ ... NetopeerModule
$ mongod --nojournal
$ cd liberouter-gui $ cp api/config-sample.in api/config.ini $ virtualenv --system-site-packages venv $ source venv/bin/activate $ pip3 install -r api/requirements.txt $ python3 api/
$ cd liberouter-gui/www # npm install # npm install -g @angular/cli # npm install -g typescript Modify proxy.json: "/libapi": { "target": "http://localhost:5555/", "secure": false, "pathRewrite": {"/libapi": ""} } $ ng serve --host localhost --proxy proxy.json (touch any .ts file to run ng again and go over an error)