mahadeo's bits

Online blog about offline stuff

How to run a Grails app from scratch

Works for Windows; Linux is not covered.

  1. Install Java 1.5 SDK + SRE
  2. Add JAVA_HOME to variables. Probably C:\Program Files\Java SDK 1.5
  3. Dowload Grails package (Google might help)
  4. Unpack Grails into any dir (C:\Grails?) - this will be your Grails Home dir
  5. Set GRAILS_HOME variable to that dir
  6. Add %GRAILS_HOME%\bin to PATH variable
  7. Install Subversion Tortoise client
  8. Point SVN client to your SVN URL and provide credentials
  9. Checkout Grails code from server
  10. In the Grails dir, run grails run-app
You’re done.