Configure Grails environment notes in Ubuntu

Source: Internet
Author: User
Grails is a Web framework similar to Rails. It is built on Spring, Hibernate, and other frameworks and can be seamlessly integrated with the Java platform. Java developers are easier to use than RoR. Grails provides a complete WebApplication development platform with built-in JettyServer and powerful functions, such as simple object relationship ing (ORM) and automatic re-loading of applications, provides code for CRUD (add, query, modify, and delete) Operations

Grails is a Web framework similar to Rails. It is built on Spring, Hibernate, and other frameworks and can be seamlessly integrated with the Java platform. Java developers are easier to use than RoR.

Grails provides a complete Web Application Development Platform with built-in Jetty Server and powerful functions, such as simple object relationship ing (ORM) and automatic re-loading of applications, provides automatic code generation support for CRUD (add, query, modify, and delete) operations ). In addition, Grails also provides some common syntaxes in Java, including interceptor using the AOP idea, dynamic tag library, JSP and GSP (Groovy Servers Pages) support.

Grails is short for Groovy on Rails, which is an implementation of Ruby on Rails (ROR) in java. Another implementation is JRuby on Rails (JROR ).

My current system is Ubuntu7.10 + jdk 1.5 + mysql 5.

You can use the following script to configure the grails environment in Ubuntu:

Grails. sh

# Download grails
Wget http://dist.codehaus.org/grails/grails-bin-1.0.zip
# Unzip
Unzip grails-bin-1.0.zip
# Move to/opt/grails
Mv grails-bin-1.0/opt/grails
# Let shells has permission to execute
Chmod 774/opt/grails/bin /*
Chmod 744/opt/grails/ant/bin /*
# Set environment variable
Echo 'export GRAILS_HOME =/opt/grails '>/etc/bash. bashrc
Echo 'export PATH = $ PATH: $ GRAILS_HOME/bin'>/etc/bash. bashrc
Source/etc/bash. bashrc
# Test
Grails

Build http://www.linuxidc.com/Linux/2011-12/49602.htm Based on Jenkins + Git + Grails continuous integration environment

Grails details: Click here
Grails: Click here

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.