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 ...
随机推荐
- 洛谷U41492(树上启发式合并)
提交通道 洛谷日报 考虑非\(O(n^2)\)的预处理.一遍dfs时,check某颜色有没有的数组何时清空很尴尬:得到某树答案后如果不清,则影响接下来兄弟树的搜索:如果清了,父亲节点又难以收集答案. ...
- 4 练习: 使用eclipse开发
1 练习: 使用eclipse开发 1.1 练习目标 本例讲述在使用eclipse如何创建groovy程序. 1.2 创建new Groovy project 本例假设你已经安装好了g ...
- sshd_config注释
[root@H0f ~]# cat /etc/ssh/sshd_config #update by H0f -- # $OpenBSD: sshd_config,v // :: djm Exp $ # ...
- java——并查集 UnionFind
时间复杂度: O(log*n),近乎是O(1)级别的 UnionFind 接口: public interface UF { int getSize(); boolean isConnected(in ...
- 虚拟机 ---- 最小化安装无法使用tab补全键
解决方法: 安装 yum -y install bash-completion 然后重启 注意:挂载时使用绝对路径的cdrom挂载, ls -l /dev/cdromvim /etc/fstab — ...
- va_list arg_list va_start(arg_list, format) va_end( arg_list ) 原理的理解
void log( int log_level, const char* file_name, int line_num, const char* format, ... ) { .......... ...
- 分配一维动态数组or 二维动态数组的方法以及学习 new 方法or vector
先来个开胃菜 // 使用new动态分配存储空间 #include<iostream> using std::cout; int main() { // 第1种方式 int *a=new i ...
- HBase 的Get(读),Put(写),Delete(删),Scan(扫描)和Increment(列值递增)
一.HBase介绍 1.基本概念 HBase是一种Hadoop数据库,经常被描述为一种稀疏的,分布式的,持久化的,多维有序映射,它基于行键.列键和时间戳建立索引,是一个可以随机访问的存储和检索数据的平 ...
- xshell如何传输文件-yum
1.安装 sudo yum install lrzsz -y 2.检查是否安装成功 #rpm -qa |grep lrzsz 出现如下,表示安装成功 3.上传文件的执行命令: #rz 就会打开本地选 ...
- Mac 终端执行sql命令
https://www.cnblogs.com/sbj-dawn/p/6905930.html. 远程登录MYSQL数据库 > mysql -u username -p -h hostname ...