使用intellij IDEA
1 Creating the Application
grails creat-app
2 Creating a Controller
grails create-controller xxx
3 Running the Tests
grails test-app
generated HTML test reports
4 running the Application
grails run-app
grails -Dserver.port=8087 run-app