Skip to content

Commit

Permalink
change readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
hasegetc committed Mar 31, 2020
1 parent 9a0bb54 commit a80180b
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,32 @@
# Grails Angular Profile
# Grails ng-alain Profile

[![Build Status](https://travis-ci.org/grails-profiles/angular.svg?branch=master)](https://travis-ci.org/grails-profiles/angular)
## Introduce

grails ng-alain profile is integrate grails restful api and [an-algin](<https://ng-alain.com/zh>). the an-algin is out-of-box UI solution for enterprise applications, let developers focus on business, built on the design principles developed by [Ant Design](https://ant.design/)

I holp it can auto generate curd views and restapi with a command

## How to use

- git clone https://github.com/hasegetc/ng-alain.git

- cd ng-alain

- ./gradlew publishToMavenLocal

- install grails and ant-design environment

- grails create-app grails-alain-test --profile=org.grails.profiles:ng-alain:0.9.1.BUILD-SNAPSHOT

- cd grails-alain-test/client and run `npm install` to make sure js dependecy install

- create a domain class, for example, Address.groovy

- cd grails-alain-test/server

- run grails ng-alain-curd Address to generate curd componets or grails ng-alain-list Address、 grails ng-alain-view Address、grails ng-alain-edit Address to generator single views

## Todo

now the generator views's field is not changed by the grails model file, next step I hope it can generator views based on the grails model file, and I was work on it

[Documentation](https://grails-profiles.github.io/angular/latest/guide/index.html)

0 comments on commit a80180b

Please sign in to comment.