Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Running grails is done through script commands in the command windows after installing grails.

Some commonly used commandsof the commands I used in creating this web service:

  • grails create-app " " - Sets up the new project, creating the file structure.
  • grails clean - Deletes all compiled resources from the application, usually used before running application.
  • grails run-app - Runs the application.
  • grails create-domain-class " " - Creates a domain class of the given name (ex. edu.hawaii.its.holidayWebService.Holidays will create the Holidays domain
                                                  class in the package edu.hawaii.its.holidayWebService)
  • grails create-service " " - Creates a service class.
  • grails generate-all " " - Creates a fully implemented controller and a corresponding set of GSP views.

...