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:

http://localhost:8080/apps/hm

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 [email protected]: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.

时间: 2024-10-13 14:30:57

Set up gradle HiveMind的相关文章

(转载)解决AndroidStudio导入项目在 Building gradle project info 一直卡住

源地址http://blog.csdn.net/yyh352091626/article/details/51490976 Android Studio导入项目的时候,一直卡在Building gradle project info这一步,主要原因还是因为被墙的结果.gradle官网虽然可以访问,但是速度连蜗牛都赶不上... 解决办法主要有两种,一是直接下载gradle离线包,二是修改项目的gradle-wrapper.properties里的gradle版本为自己电脑已有的版本. 离线包下载导

Android开发:《Gradle Recipes for Android》阅读笔记(翻译)2.2——将Eclipse开发的项目导入到AndroidStudio

问题: 你想要将一个Eclipse ADT项目导入到Android Studio中. 解决方案: Android Studio提供了一个导入向导,可以重写已有的项目. 详细: 在Android Studio的欢迎页上,显示导入eclipse或者gradle项目的向导按钮. 链接会打开导航让你选择已有Eclipse项目的文件地址.使用老的项目结构,res,src和AndroidManifest.xml都直接在根目录下.如: 选择好目标目录,导航提供了一个将jar包转化为gradle下的依赖,以及其

Android开发:《Gradle Recipes for Android》阅读笔记1.5

这节讲的是如何如何添加JAVA依赖库. 默认的android项目有两个build.gradle文件,分别位于顶级目录,和应用自己的目录下(通常放在一个叫app的目录下面). gradle支持多种方式列举依赖库,最常用的方式是用引号包括,冒号分割group,name,version的方式.(gradle是使用Groovy的,所以支持单双引号字符串,后面章节会详细讲) 每个依赖都会和某个配置关联.android项目包括compile,runtime,testCompile和testRuntime配置

android studio学习----gradle基础

Gradle是一种依赖管理工具,基于Groovy语言,面向Java应用为主,它抛弃了基于XML的各种繁琐配置,取而代之的是一种基于Groovy的内部领域特定(DSL)语言. 安装Gradle 在Android Studio系列教程一--下载与安装中新建项目成功后会下载Gradle,貌似这个过程不FQ也是可以下载,但是访问特别慢,建议FQ下载.那么下载的Gradle到什么地方呢? Mac上会默认下载到 /Users/<用户名>/.gradle/wrapper/dists 目录 Win平台会默认下

eclipse安装Gradle

第一步:下载Gradle>http://gradle.org/gradle-download 第二步:解压gradle-2.5, 配置环境变量:GRADLE_HOME path添加;%GRADLE_HOME%\bin 第三步,查看是否安装成功: 以管理员身份运行"命令提示符",输入:gradle -v 第四步:打开eclipse>Help>Install new software>输入http://dist.springsource.com/release/TO

android-studio的gradle plugin配置相关的一些记录

感觉就是越高的Gradle版本对应的plugin越高. 你妹的,是不是2.10版本低于2.2版本,我还以为是2.10版本高于2.8.2.9版本呢.每次用2.10版本构建,用1.2.2等都不行.提示最低要求vesion为2.2,擦. classpath 'com.android.tools.build:gradle:1.2.2'//提示会有警告要求最底的Gradle版本是2.2,以上gradle版本为2.3,4,5,6....应该都可以,不过建议plugin本版不要过低,有些会不支持. class

Android Studio Gradle 版本不同报错解决方法

由于GFW的原因,我们在使用as时经常出现失败,或者第一次新建工程不成功. 很多博客上已经提到了如何解决第一次新建工程Gradle构建的问题,那么在打开别的工程时依旧会报错 "Failed to sync Gradle project" 找到build.gradle 更改为你可以运行的Gradle版本 更改版本 成功解决sync失败的问题

[Android Pro] Gradle tip #3-Task顺序

reference to : http://blog.csdn.net/lzyzsd/article/details/46935405 原文链接 我注意到我在使用Gradle的时候遇到的大多数问题都是和task的执行顺序有关的.很明显如果我的构建会工作的更好如果我的task都是在正确的时候执行.下面我们就深入了解一下如何更改task的执行顺序. dependsOn 我认为最直接的方式来说明的你task的执行时依赖别的task的方法就是使用dependsOn方法. 比如下面的场景,已经存在task

Gradle之旅-遇到的一个很简单但是用了很久才解决的问题

这个问题非常简单,但是对于我这个刚接触Gradle的人却是很难发现的一个错误,这个错误就是在使用gradle build的时候提示can not find tools.jar,我手动的添加了依赖,反复修改都没能解决这个错误,后来我无意中点到window->references->java->install jres发现这里定义的jre是jdk下的jre,不是jdk,然后我将定义的这个jre修改了为jdk的路径,然后重新运行gradle build,然后问题就解决了,虽然是个很小的问题,但