当前位置: 首页 > 工具软件 > 鲁班 H5 > 使用案例 >

ubuntu安装鲁班H5

陈嘉荣
2023-12-01

环境需要

node, git,npm,yarn

项目中所需

sudo apt-get install autoconf libpng-dev

1、下载文件

git clone https://github.com/ly525/luban-h5.git

2、启动后台

# 默认当前目录为 luban 项目的根目录
cd back-end/h5-api

yarn # 安装依赖

npm run dev

提示: yarn报错error An unexpected error occurred: 则换npm源

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

3、前端

cd front-end/h5 
yarn install
yarn build:engine 
npm run dev

 

 类似资料: