Bonita portal 源码编译(未完成)
首先下载源代码
https://github.com/bonitasoft/bonita-portal-js
以下内容为Github 的安装教程包含我安装过程中遇到的问题。并加以修正
Bonita portal js
Part of bonita portal written using AngularJs
Requirements
- node.js > v6.9.4
- yarn > v0.27.5
- maven > 3.3.9
- phantomjs
- grunt
Development tasks
开始之前先将yarn 设置成淘宝镜像
yarn config set registry http://registry.npm.taobao.org/
在源代码根目录中执行 yarn install
然后是需要漫长的等待。。。
[4/5] Linking dependencies...
[##############################################------------------------------------------------------------] 8100/18653
卡在这里了。。。
yarn install
yarn install v1.6.0
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
$ bower install
bower[66044]: src\node_contextify.cc:631: Assertion `args[1]->IsString()' failed.
1: node::DecodeWrite
2: node::DecodeWrite
3: uv_loop_fork
4: v8::internal::interpreter::BytecodeDecoder::Decode
5: v8::internal::RegExpImpl::Exec
6: v8::internal::RegExpImpl::Exec
7: v8::internal::RegExpImpl::Exec
8: 000002ABF2604281
error Command failed with exit code 134.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
PS E:\JzSoft\BPM\OfficalSource\bonita-portal-js> yarn start
yarn run v1.6.0
$ npm-run-all --parallel dev:* > portaljs@0.0.0 dev:serve E:\JzSoft\BPM\OfficalSource\bonita-portal-js
> grunt serve > portaljs@0.0.0 dev:less E:\JzSoft\BPM\OfficalSource\bonita-portal-js
> watch --wait=1 'npm-run-all --parallel build:*' main/styles > Watching main/styles
''npm-run-all' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
grunt[66456]: src\node_contextify.cc:631: Assertion `args[1]->IsString()' failed.
1: node::DecodeWrite
2: node::DecodeWrite
3: uv_loop_fork
4: v8::internal::interpreter::BytecodeDecoder::Decode
5: v8::internal::RegExpImpl::Exec
6: v8::internal::RegExpImpl::Exec
7: v8::internal::RegExpImpl::Exec
8: 00000346D6C84281
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! portaljs@0.0.0 dev:serve: `grunt serve`
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the portaljs@0.0.0 dev:serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\hyzx8\AppData\Roaming\npm-cache\_logs\2018-05-05T16_02_45_074Z-debug.log
ERROR: dev:serve: None-Zero Exit(134);
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Launch project in development mode
Before running project in development mode, you need to launch a Bonita backend available on URL http://localhost:8080/ Then launch:
yarn start
Project should be running at URL http://localhost:9000/bonita/portaljs/
Launch unit tests
yarn run test
Launch unit tests in watch mode
yarn run test:watch
Launch end to end tests
yarn run e2e
Launch end to end tests in headless mode
yarn run e2e:headless
Build project
yarn run build
Localization
Localization keys can be extracted from source files to an .pot output file (./target/portal-js.pot). To do so, run the following command
yarn run pot
Maven build
Project can also be built using maven
mvn clean package [-Pe2e]
This will build the project, package it in a zip file and, run end to end test if e2e profile is activated
首先下载源代码
https://github.com/bonitasoft/bonita-portal-js
Bonita portal js
Part of bonita portal written using AngularJs
Requirements
- node.js > v6.9.4
- yarn > v0.27.5
- maven > 3.3.9
Development tasks
注意,按照github 教程下一步安装过程中报错
此时需要安装 :phantomjs http://phantomjs.org/download.html 并将 bin 目录添加到环境变量
Please run yarn install
Before launching any of following tasks
这将需要漫长的等待。。。
Launch project in development mode
Before running project in development mode, you need to launch a Bonita backend available on URL http://localhost:8080/ Then launch:
yarn start
Project should be running at URL http://localhost:9000/bonita/portaljs/
Launch unit tests
yarn run test
Launch unit tests in watch mode
yarn run test:watch
Launch end to end tests
yarn run e2e
Launch end to end tests in headless mode
yarn run e2e:headless
Build project
yarn run build
Localization
Localization keys can be extracted from source files to an .pot output file (./target/portal-js.pot). To do so, run the following command
yarn run pot
Maven build
Project can also be built using maven
mvn clean package [-Pe2e]
This will build the project, package it in a zip file and, run end to end test if e2e profile is activated
Bonita portal 源码编译(未完成)的更多相关文章
- 【流媒体开发】VLC Media Player - Android 平台源码编译 与 二次开发详解 (提供详细800M下载好的编译源码及eclipse可调试播放器源码下载)
作者 : 韩曙亮 博客地址 : http://blog.csdn.net/shulianghan/article/details/42707293 转载请注明出处 : http://blog.csd ...
- 源码编译安装nginx及设置开机启动项
1.上传nginx文档:解压到/data目录下,并安装依赖包tar xf nginx-1.20.1.tar.gz -C /data/cd /data/nginx-1.20.1/ && ...
- Android 5.0源码编译问题
如果是自己通过repo和git直接从google官网上download的源码,请忽略这个问题,但是由于google在国内被限制登录,通过这一种方法不是每个人都能download下来源码,通常的做法就是 ...
- Android stdio Apktool源码编译
Android Apktool源码编译 标签(空格分隔): Android Apktool 源码编译 需求 习惯NetBeans调试smali需要用Apktool反编译apk,需要用-d的参数才能生成 ...
- SSH/SSL 源码编译安装简易操作说明
环境:CentOS 6.7 安全加固需求,由于某盟扫描系统主机有SSL系列漏洞,客户要求必须修复: 解决方案:将SSH/SSL升级到最新版本,删除SSL旧版本(实测不删除旧版本某盟扫描无法通过). 当 ...
- Hadoop源码编译过程
一. 为什么要编译Hadoop源码 Hadoop是使用Java语言开发的,但是有一些需求和操作并不适合使用java,所以就引入了本地库(Native Libraries)的概念,通 ...
- World Wind .NET源码编译问题处理
World Wind .NET源码编译问题处理 下载了World_Wind_1.4.0_Source源码(http://worldwindcentral.com/wiki/NASA_World_W ...
- 源码编译安装 MySQL 5.5.x 实践
1.安装cmakeMySQL从5.5版本开始,通过./configure进行编译配置方式已经被取消,取而代之的是cmake工具.因此,我们首先要在系统中源码编译安装cmake工具. # wget ht ...
- Linux 安装node.js ---- 源码编译的方式
一 : 普通用户: 安装前准备环境: 1.检查Linux 版本 命令: cat /etc/redhat-release 2.检查 gcc.gcc-c++ 是否安装过 命令: rpm -q gcc rp ...
随机推荐
- [ZJOI2018]历史(LCT)
这篇还发了洛谷题解 [Luogu4338] [BZOJ5212] 题解 题意 给出一棵树,给定每一个点的 \(access\) 次数,计算轻重链切换次数的最大值,带修改. 先考虑不带修改怎么做 假设 ...
- SQL Server 数据导入与导出
1. BCP 命令 用法: bcp {dbtable | query} {in | out | queryout | format} 数据文件 [-m 最大错误数] [-f 格式化文件] [-e 错误 ...
- js遇到的奇怪问题和坑1
if(window.confirm('你确定要删除此条信息么')){ // window.open('delete.php'); location.href='delete.php'; return ...
- java——时间复杂度、动态数组
O(n)不一定小于O(n^2),要具体来看,而我们说的这种时间复杂度其实是渐进时间复杂度,描述的是n趋近于无穷的情况. 动态数组的时间复杂度: 添加操作:O(n) addLast()的均摊复杂度为O( ...
- 转:zookeeper配置运行——较为详细的教程
zookeeper:http://blog.csdn.net/morning99/article/details/40426133 dubbo+zookeeper详细:http://www.cnblo ...
- Linux环境搭建禅道项目管理工具
1.开源版安装包下载 [root@iZbp ~]# wget http://dl.cnezsoft.com/zentao/9.0.1/ZenTaoPMS.9.0.1.zbox_64.tar.gz 2. ...
- redis的三种启动方式,个人常用第二种
redis的启动方式1.直接启动 进入redis根目录,执行命令: #加上‘&’号使redis以后台程序方式运行 1 ./redis-server & 2.通过指定配置文件启动 ...
- java生成临时令牌和访问令牌
public String getTicket(String logo, String productId) { String aTicket = ""; SimpleDateFo ...
- 虚拟机安装MySQL报** is needed by **错误
执行命令: [root@node1 local]# rpm -ivh mysql-community-server-8.0.12-1.el7.x86_64.rpm 安装MySQL遇到以下问题: err ...
- (转)AIX修改系统时区的3种方法和AIX 时间问题(夏令时)
原文:http://blog.csdn.net/fuwencaho/article/details/28267283 http://www.wo81.com/tec/os/aix/2014-04-30 ...