Installation to source files:
Upload all folders and files to apps/apiexplorer
Upload file lib/highlight.pack.js
to js/vendor
directory
Add next strings to file /js/main.js
after string paths: {
'hljs' : 'js/vendor/highlight.pack' ,
Build your Monster UI with original builder (command gulp
)
Register apiexplorer
app
# sup crossbar_maintenance init_app <absolute path to apiexplorer app> <your api base url>
sup crossbar_maintenance init_app /var/www/html/monster-ui/dist/apps/apiexplorer https://site.com:8443/v2/
Activate the Api Explorer app in the Monster UI App Store ( /#/apps/appstore
)
Installation to compiled files:
Upload all folders and files to apps/apiexplorer
Upload file lib/highlight.pack.js
to js/vendor
directory
Create next symbol link in root directory of Monster UI
# ln [options] <target file> [link name]
ln -s js/vendor/highlight.pack.js hljs.js
Register apiexplorer
app
# sup crossbar_maintenance init_app <absolute path to apiexplorer app> <your api base url>
sup crossbar_maintenance init_app /var/www/html/monster-ui/dist/apps/apiexplorer https://site.com:8443/v2/
Activate Api Explorer app in the Monster UI App Store ( /#/apps/appstore
)