Set up gradle HiveMind
HiveMind is a comprehensive ERP application for service organizations. It includes a project management application featuring project/task, request, and content (wiki) management. There is support for multiple vendors, multiple clients, flexible billing rates, time recording, expenses, invoicing (AR/AP), payments, and general ledger.
Running HiveMind
To run HiveMind you need Moqui Framework, HiveMind itself, and the components it depends on. Moqui supports a few methods for setup and deployment as described in the documentation here:
http://www.moqui.org/framework/docs/RunDeploy.html
The easiest way to try HiveMind is with the binary distribution available on GitHub:
https://github.com/moqui/HiveMind/releases
If you don't have gradle or ant installed you can use this command line to run Java directly:
$ java -Xmx512M -XX:MaxPermSize=128m -jar moqui-${version}.war
Note that with JDK 8 you don't need the -XX:MaxPermSize argument.
Build and Run Locally
To get and locally run the latest HiveMind you'll need JDK 7 or later (Oracle JDK 8 recommended), and either a git client or you can use the ZIP download link on GitHub.
Java can be downloaded here (make sure to use the Download button under the JDK column, NOT the under the JRE column):
http://www.oracle.com/technetwork/java/javase/downloads/index.html
The following instructions use the Gradle Wrapper to build. You can optionally download and install Gradle (from http://www.gradle.org/downloads) and use gradle instead of ./gradlew in the example commands.
To download Moqui/Mantle/HiveMind source and build/run locally use the following steps:
Step 1: Download Moqui Framework
Zip: https://github.com/moqui/moqui-framework/archive/master.zip
Git: https://github.com/moqui/moqui-framework.git
From either source you should put the contents in a moqui directory for the next steps. If you use the Zip download change the directory name from moqui-framework-master to moqui. If you clone the Git repository clone it into a moqui directory.
Step 2: Download HiveMind and Dependencies
This is easy with the dependency configuration per component, and the Gradle get component tasks. With Gradle Wrapper you don't need to install Gradle separately to do this. The HiveMind component is configured by default in the Moqui addons.xml file, so just run:
$ ./gradlew getComponent -Pcomponent=HiveMind
If you downloaded the zip archive for Moqui Framework this will download the zip archives for HiveMind and each component it depends on. If you cloned from the git repository this will clone all components from their repositories.
Step 3: Build and Load Data
From the moqui directory run:
$ ./gradlew load
This will build Moqui and load seed and demo data from all components into an embedded H2 database.
Step 4: Run Moqui
From the moqui directory run:
$ ./gradlew run
Step 5: Access the HiveMind applications
For the HiveMind Project Management application, in your browser go to:
Or for the admin application go to:
http://localhost:8080/apps/hmadmin
Use the button in the lower-left corner of the screen login as John Doe.
Setup Commands Quick Reference
Java 8 is recommended: http://www.oracle.com/technetwork/java/javase/downloads/index.html
Here are command line steps for initial checkout, setup, and run:
$ git clone git@github.com:moqui/moqui-framework.git moqui
$ cd moqui
$ ./gradlew getComponent -Pcomponent=HiveMind
$ ./gradlew load
$ ./gradlew run
Here are steps for a basic update:
$ cd moqui
$ ./gradlew cleanAll gitPullAll load
$ ./gradlew run
To access the project management app go to something like http://localhost:8080/apps/hm in a web browser. To access the admin app go to http://localhost:8080/apps/hmadmin.
Set up gradle HiveMind的更多相关文章
- Gradle配置APK自动签名完整流程
转载请注明出处:http://www.cnblogs.com/LT5505/p/6256683.html 一.生成签名 1.命令行生成签名,输入命令keytool -genkey -v -keysto ...
- gradle学习笔记(1)
1. 安装 (1) 下载最新gradle压缩包,解压到某处.地址是:Gradle web site: (2) 添加环境变量: 1) 变量名:GRADLE_HOM ...
- Gradle 实现 Android 多渠道定制化打包
Gradle 实现 Android 多渠道定制化打包 版权声明:本文为博主原创文章,未经博主允许不得转载. 最近在项目中遇到需要实现 Apk 多渠道.定制化打包, Google .百度查找了一些资料, ...
- 解决 Could not find com.android.tools.build:gradle 问题
今天拉同事最新的代码,编译时老是报如下错误: Error:Could not find com.android.tools.build:gradle:2.2.0.Searched in the fol ...
- React Native Android gradle下载慢问题解决
很多人会遇到 初次运行 react-native run android的时候 gradle下载极慢,甚至会失败的问题 如下图 实际上这个问题好解决的 首先 把对应版本的gradle下载到本地任意一个 ...
- Android studio使用gradle动态构建APP(不同的包,不同的icon、label)
最近有个需求,需要做两个功能相似的APP,大部分代码是一样的,只是界面不一样,以前要维护两套代码,比较麻烦,最近在网上找资料,发现可以用gradle使用同一套代码构建两个APP.下面介绍使用方法: 首 ...
- 对Maven、gradle、svn、spring 3.0 fragment、git的想法
1.Maven Maven可以构建项目,采用pom方式配置主项目和其他需要引用的项目.同时可结合spring3.0的新特性web fragment. 从现实出发,特别是对于管理不到位,程序员整体素质 ...
- 项目自动化建构工具gradle 入门1——输出helloWorld
先来一个简单的例子,4个步骤: 1.进入D:\work\gradle\java 目录 ,您电脑没这目录? 那辛苦自己一级一级建立起来吧 新建文件build.gradle,文件内容是: apply p ...
- 用IntelliJ IDEA创建Gradle项目简单入门
Gradle和Maven一样,是Java用得最多的构建工具之一,在Maven之前,解决jar包引用的问题真是令人抓狂,有了Maven后日子就好过起来了,而现在又有了Gradle,Maven有的功能它都 ...
随机推荐
- Sql practice
employee表 数据准备 use tempdb go if OBJECT_ID('employee') is not null drop table employee ;with employee ...
- Team Foundation Server 2015(Update 1)集成 SharePoint Server 2013
自TFS 2008开始,TFS就提供了与SharePoint Server的集成功能,通过多年的研发和提升,目前微软已经实现了两个服务器产品之间的完美集成.通过二者之间的集成,TFS服务器大幅提高和扩 ...
- C# explicit与implicit
1.它们解决什么问题? 考虑下面的需求,Person类有个字段age.我想使用Person p = (Person) 18 来创建一个age为18的Person对象,怎么办? 更进一步,我想使用Per ...
- PPP(点对点协议(Point to Point Protocol)
1.简介PPP(点到点协议)是为在同等单元之间传输数据包这样的简单链路设计的链路层协议.这种链路提供全双工操作,并按照顺序传递数据包.设计目的主要是用来通过拨号或专线方式建立点对点连接发送数据,使其成 ...
- HTML5和css3的总结四
HTML5的新东西总结四: 1>video和audio 声明方法(可以制作背景音乐) var oV/oA=new Video()/Audio(); oV/oA.src=''; oV/oA.pla ...
- JS的Document属性和方法
Attributes 存储节点的属性列表(只读)childNodes 存储节点的子节点列表(只读)dataType 返回此节点的数据类型Definition 以DTD或XML模式给出的节点的定义(只读 ...
- svn使用过程forMac
在Windows环境中,我们一般使用TortoiseSVN来搭建svn环境.在Mac环境下,由于Mac自带了svn的服务器端和客户端功能,所以我们可以在不装任何第三方软件的前提下使用svn功能,不过还 ...
- C# Winform关于控件TabControl闪烁的问题
自己重写了一个Form,然后再该form上放一个TabControl鼠标移上去会闪烁,经过网上查找解决方案,最后总算是解决了....下面附上代码: 重写一个TabControl代码如下: using ...
- ESLint 检查代码质量
利用 ESLint 检查代码质量 其实很早的时候就想尝试 ESLint 了,但是很多次都是玩了一下就觉得这东西巨复杂,一执行检查就是满屏的error,简直是不堪入目,遂放弃.直到某天终于下定决心深入看 ...
- Oracle11G 7个服务说明
中的方法成功安装Oracle 11g后,共有7个服务, 这七个服务的含义分别为: 1. Oracle ORCL VSS Writer Service: Oracle卷映射拷贝写入服务,VSS(Volu ...