meteor项目部署-

以 semantic-segmentation-editor 开源项目为例

  1. 安装node

curl -sL https://deb.nodesource.com/setup_13.x | sudo bash -

sudo apt install nodejs

  1. 设置淘宝镜像

npm config set registry https://registry.npm.taobao.org

  1. 安装meteor
  1. 下载install脚本

curl https://install.meteor.com > install.meteor.sh

更改为本机下载地址

  1. 下载meteor安装包

https://static-meteor.netdna-ssl.com/packages-bootstrap/1.10.2/meteor-bootstrap-os.linux.x86_64.tar.gz

  1. 使用serve插件,使该文件可在浏览器中访问

https://www.tqwba.com/x_d/jishu/350200.html

  1. 更改1中脚本的TARBALL_URL为3第三步中的

TARBALL_URL= http://localhost:3000/meteor-bootstrap-os.linux.x86_64.tar.gz

  1. 安装

sudo chmod +x ./install.meteor.sh

sudo ./meteor.sh

  1. 打包步骤参见

Meteor用build部署问题,meteor如何打包和打包后如何测试?别人的meteor项目如何运行?_yuanyi正的博客-CSDN博客_meteor打包

期间会遇到demo-mode相关的报错,将两处读取的值直接改为true即可;

点云路径配置:

Ubuntu路径默认在

/home/ubuntu/sse-images文件夹中,将pcd文件对应上传即可;

若遇不可上传问题,强制删除sse-images,再上传即可

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值