Installation tutorial More than write, write about how to embed the application, here I use Django+uwsgi+nginx architecture, in fact, there is no relationship with the architecture
First step: Link gateone.js (Default in/opt/gateone/static/) to the Web App's home page
<script src="{{ STATIC_URL }}js/gateone.js"></script>
Step two: Embed Web pages
<div style="width: 60em; height: 30em;"> <div id="gateone"></div></div>
Step Three: Initialize
<script src="{{ STATIC_URL }}js/window_onload.js"></script>
There is only one row in the Web application to ensure that the execution of this line JS on the line:
"https://your-gateone-server:port/" });
Finally, the effect:
You can see the graph directly with cat:
In the middle there is a certification problem, will look up a dictionary or understand English is easy to fix
Application embedding of Virtual open-source bastion machine Webssh