ubuntu安装鲁班H5

时间秒杀一切 提交于 2020-01-25 13:57:54

环境需要

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

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!