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有的功能它都 ...
随机推荐
- A python tool to static sim.log duration time
When working ALU IMS Patch team, we need to static the SU duration to add it to the patch report, th ...
- A*算法详解 BZOJ 1085骑士精神
转载1:A*算法入门 http://www.cppblog.com/mythit/archive/2009/04/19/80492.aspx 在看下面这篇文章之前,先介绍几个理论知识,有助于理解A*算 ...
- HDU 5057 Argestes and Sequence --树状数组(卡内存)
题意:给n个数字,每次两种操作: 1.修改第x个数字为y. 2.查询[L,R]区间内第D位为P的数有多少个. 解法:这题当时被卡内存了,后来看了下别人代码发现可以用unsigned short神奇卡过 ...
- maven 多工程搭建演示
maven出现后,很多公司会用maven来构建项目,单仅仅只是单项目单工程的 并没有使用多工程来构建,这样在以后,项目越来越大,业务越来越多以后,项目会难以维护,越发庞大,维护成本提高,团队士气也会下 ...
- Java虚拟机详解03----常用JVM配置参数
[声明] 欢迎转载,但请保留文章原始出处→_→ 生命壹号:http://www.cnblogs.com/smyhvae/ 文章来源:http://www.cnblogs.com/smyhvae/p/4 ...
- java 20 -3 递归之删除特定目录下的特定文件
/* 需求:删除H:\demo目录下的带内容的文件 分析: A:封装该目录 B:获取该目录下所有的文件或文件夹的File数组 C:遍历该File数组,获取每一个File对象 D:判断所遍历的FIle对 ...
- WPF技巧-Canvas转为位图
转自:http://www.cnblogs.com/tmywu/archive/2010/09/14/1825650.html 在WPF中我们可以将Canvas当成一种画布,将Canvas中的控件当成 ...
- 【MFC】WM_GETMINMAXINFO 设置无边框窗口最大花不遮挡任务栏
LRESULT OnGetMinMaxInfo( UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM lParam, BOOL& /*bHandled*/ ) { ...
- swift 判断输入的字符串是否为数字
// 判断输入的字符串是否为数字,不含其它字符 func isPurnInt(string: String) -> Bool { let scan: Scanner = Scanner(stri ...
- 加密算法使用(五):RSA使用全过程
RSA是一种非对称加密算法,适应RSA前先生成一对公钥和私钥. 使用公钥加密的数据可以用私钥解密,同样私钥加密的数据也可以用公钥解密, 不同之处在于,私钥加密数据的同事还可以生成一组签名,签名是用来验 ...