run-vscode-web-on-linux

# 不同版本
https://github.com/microsoft/vscode 
https://github.com/coder/code-server
https://github.com/gitpod-io/openvscode-server

 

#https://github.com/gitpod-io/openvscode-server
mkdir pty && cd pty
npm i node-pty@1.2.0-beta.10
cd node_modules/node-pty/
npx node-gyp configure
npx node-gyp build
file build/Release/pty.node

 

# 一步到位更新
apk add  alpine-sdk   gyp  python3     make     g++    linux-headers       libstdc++
apk add --no-cache gcompat libstdc++ libgcc git python3 make gcc g++ linux-headers openssl-dev
# 当前 openvscode-server-v1.109.5-linux-x64
cd  node_modules/node-pty
# 清理旧glibc编译产物
rm -rf build dist prebuilds
# 使用node-gyp重新编译musl版本 pty.node
npm run install
# 或者手动执行 node‑gyp
npx node-gyp clean
npx node-gyp configure
npx node-gyp build

file build/Release/pty.node
cd ../../
node -e “const p=require(‘node-pty’); console.log(‘node-pty loaded OK’)”
# 输出即OK , node-pty loaded OK

 

alpine pty
cat /etc/alpine-release
uname -a
uname -m
node -v
node -p "process.platform + ' ' + process.arch"
node -p "process.versions"
ldd --version
apk info | grep -E 'musl|gcompat|libc6'
#cd openvscode-server-v1.109.5-linux-x64
find node_modules -name 'pty.node' -exec file {} \;
find node_modules -name 'pty.node' -exec ldd {} \;

node -e "console.log(require.resolve('node-pty')); const pty=require('node-pty'); console.log('node-pty loaded');"

node -e "const pty=require('node-pty'); console.log(pty)"

find node_modules -name 'pty.node' -exec file {} \;

#核心,重建
apk add alpine-sdk python3 make g++ linux-headers libstdc++

#npm rebuild node-pty –build-from-source

# 诊断当前状态的命令
echo '=== OS ==='
cat /etc/alpine-release
uname -a
uname -m

echo ‘=== Node ===’
node -v
node -p “process.execPath”
node -p “process.arch”
node -p “process.versions.modules”

echo ‘=== libc ===’
ldd –version 2>&1 | head -3

echo ‘=== node-pty package ===’
node -p “require.resolve(‘node-pty/package.json’)”
node -p “require(‘node-pty/package.json’).version”

echo ‘=== pty.node ===’
find node_modules -name pty.node -exec file {} \;

echo ‘=== dependencies ===’
find node_modules -name pty.node -exec ldd {} \;

开源医疗演示地址

https://www.yuque.com/tiantiankaiyuan/demo/openhis#
开源医疗演示地址
OpenHIS医院系统(信创版)地址:http://61.172.179.73:41105/账号:whm密码:123456测试说明:如需测试挂号流程,挂号科室请选择【内科门诊】,医生请选择【王海明】,新建病人后如未能查询到请刷新页面。OpenHIS医院系统(通用版)后台管理系统:http://61.172.179.73:41133
收费管理系统:http://61.172.179.73:41134
医护协同系统:http://61.172.179.73:41135
药房药库系统:http://61.172.179.73:41136
电子病历系统:http://61.172.179.73:41137
物资耗材系统:http://61.172.179.73:41141
病案管理系统:http://61.172.179.73:41139
手术管理系统:http://61.172.179.73:41138账号:xzadmin密码:2WSXcde!@测试说明:因演示环境数据配置有限,建议参考
OpenHIS通用版演示环境操作指南
进行测试操作,以便体验主要业务流程。自选其它操作可能会出现报错或无法执行。OpenHIS诊所系统地址:http://61.172.179.73:5003/账号:xzadmin密码:2WSXcde!@OpenPEIS体检系统地址:http://61.172.179.73:41005/ 账号:admin 密码:2WSXcde!@

https://www.yuque.com/tiantiankaiyuan/openhis-deploy/common