Meruvian Yama

Meruvian Yama is a part of Meruvian Integrated Platform. An integrated platform to create Java WebApp based on Struts2, SpringMVC, JPA and many others popular framework quickly and easily.

License

License

GroupId

GroupId

org.meruvian.yama
ArtifactId

ArtifactId

yama
Last Version

Last Version

2.0.0.Beta2
Release Date

Release Date

Type

Type

pom
Description

Description

Meruvian Yama
Meruvian Yama is a part of Meruvian Integrated Platform. An integrated platform to create Java WebApp based on Struts2, SpringMVC, JPA and many others popular framework quickly and easily.
Project Organization

Project Organization

Meruvian
Source Code Management

Source Code Management

https://github.com/meruvian/yama

Download yama

Filename Size
yama-2.0.0.Beta2.pom 4 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/org.meruvian.yama/yama/ -->
<dependency>
    <groupId>org.meruvian.yama</groupId>
    <artifactId>yama</artifactId>
    <version>2.0.0.Beta2</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.meruvian.yama/yama/
implementation 'org.meruvian.yama:yama:2.0.0.Beta2'
// https://jarcasting.com/artifacts/org.meruvian.yama/yama/
implementation ("org.meruvian.yama:yama:2.0.0.Beta2")
'org.meruvian.yama:yama:pom:2.0.0.Beta2'
<dependency org="org.meruvian.yama" name="yama" rev="2.0.0.Beta2">
  <artifact name="yama" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.meruvian.yama', module='yama', version='2.0.0.Beta2')
)
libraryDependencies += "org.meruvian.yama" % "yama" % "2.0.0.Beta2"
[org.meruvian.yama/yama "2.0.0.Beta2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • social
  • core
  • webapi

Yama

Meruvian Yama is an integration framework that help programmer to create a web app or a web api easily. With current version we share the same services that use by both web app and web api.

Prerequisites

  • JDK >= 1.6
  • Maven 3
  • MySQL
  • Nodejs
  • Grunt CLI
  • Bower

Quickstart

Running Yama

Generate from archetype

mvn archetype:generate \
-DarchetypeGroupId=org.meruvian.yama \
-DarchetypeArtifactId=yama-starter-archetype \
-DarchetypeVersion=2.0.0.Beta2

Change database configuration on webapi/src/main/resources/config/yama-dev.yml Create database schema

Install node and bower dependency in webpp directory

$ cd <yama-root-directory>/webapp
$ npm install
$ bower install

Run Yama

$ cd <yama-root-directory>
$ mvn test -Pwebapi

Open your browser, the application will be available at http://localhost:8080/ (user/passwd: administrator/admin123)

If you want to use grunt for frontend automation (livereload, jslint, etc) run following command in webapp directory, make sure you've installed grunt-cli on your computer

$ grunt serve

Your browser will automatically open http://localhost:8081/

Production

Package Yama as Production WAR

To package application as WAR (without building frontend), type:

$ mvn package

If you want to package application with "production" frontend, activate prod profile by typing:

$ mvn package -Pprod

This will generate war file on webapi/target directory:

  • yama-webapi-1.0-SNAPSHOT.war; and
  • yama-webapi-1.0-SNAPSHOT.war.original
Running Yama without an Application Server

Yama comes with embedded Jetty server, instead of deploying to an application server you can always execute WAR file by typing:

$ java -jar yama-webapi-1.0-SNAPSHOT.war

this will run yama in embedded jetty server in production mode (the default profile is prod), if you want to run Yama in development mode, type:

$ java -jar yama-webapi-1.0-SNAPSHOT.war --spring.profiles.active=dev
org.meruvian.yama

Meruvian

Versions

Version
2.0.0.Beta2
2.0.0.Beta1
1.0.3
1.0.2
1.0.1
1.0