提交 e8a25347 编写于 作者: P peterq

add demo: 开源在线演示系统

上级 2e33dd2f
......@@ -46,8 +46,6 @@
- 本项目花费了作者大量的时间和精力, 如果你觉得本项目对你有帮助, 帮忙点个star.
- 在线体验系统的源码暂未push到github. 如果需要, 你可以打开在线体验页面, 按f12, 按控制台描述方式获取
- 作者QQ
![](https://qiniu-cdn.peterq.cn/pan-light/img/author_qq.jpg)
......
demo_instance_manager
\ No newline at end of file
#!/bin/bash
appname=`basename $0 | sed s,\.sh$,,`
dirname=`dirname $0`
tmp="${dirname#?}"
if [ "${dirname%$tmp}" != "/" ]; then
dirname=$PWD/$dirname
fi
export LD_LIBRARY_PATH="$dirname/deploy/linux/lib"
export QT_PLUGIN_PATH="$dirname/deploy/linux/plugins"
export QML_IMPORT_PATH="$dirname/deploy/linux/qml"
export QML2_IMPORT_PATH="$dirname/deploy/linux/qml"
export DISPLAY=:1
cd /root
/usr/bin/vncserver :1 -geometry 1600x900 -depth 24
cd $dirname
$dirname/$appname "$@"
#!/bin/sh
export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
gnome-panel &
gnome-settings-daemon &
metacity &
#!/usr/bin/env bash
appname=`basename $0 | sed s,\.sh$,,`
dirname=`dirname $0`
tmp="${dirname#?}"
if [ "${dirname%$tmp}" != "/" ]; then
dirname=$PWD/$dirname
fi
cp ${dirname}/files/font-cn.ttf /usr/share/fonts/
cp ${dirname}/files/xstartup /root/.vnc/xstartup
......@@ -36,8 +36,6 @@
- 本项目花费了作者大量的时间和精力, 如果你觉得本项目对你有帮助, 帮忙点个star.
- 在线体验系统的源码暂未push到github. 如果需要, 你可以打开在线体验页面, 按f12, 按控制台描述方式获取
- 作者QQ
![](https://qiniu-cdn.peterq.cn/pan-light/img/author_qq.jpg)
......
<script>
if (location.host == 'pan-light.peterq.cn') {
location.href = 'https://qiniu-cdn.peterq.cn/pan-light/doc'
}
var _hmt = _hmt || [];
(function () {
var hm = document.createElement("script");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册