Learn Java for Web Development

(Tina Meador) #1

312 CHAPTER 7: Rapid Web Development with Grails


Running the Application

At this point, you have a functional application that you can run and access through a web browser.
It does not do much yet, but running it now will enable you to get instant feedback as you add
domain and controller classes.


To run a Grails application, execute the run-app target from your project root directory, as
shown here:



grails run-app



Figure 7-10. Directory structure of the bookstore application

Free download pdf