Installing Grails

I would really like the video at the following location

https://www.youtube.com/watch?v=Nu3GgjuUOtg

Following are steps for installing it on windows environment

  • Install JDK. 
    • You may use my other post to save some time :)
  • Download grails from below link
    • https://grails.org/download.html
  • Unzip files and copy to one location says c:\grails
  • Define environment variable
    • GRAILS_HOME and set it to path used in previous step
  • Add following at the of you PATH (Environment) variable
    • ;%GRAILS_HOME%\bin
  • Go to command prompt and type following command to test your setup
    • grails -version
      • It should display the installed grails version
    • cd %GRAILS_HOME%
      • it should take you to grails directory
    • grails create-app HelloWorld
      • It should create application name hello world. You can use any name for your application
    • cd HelloWorld
      • It should takes you to newly created application
    • grails run-app
      • It should start application. 
      • If firewall gives any warning then we should allow application to continue.
      • It will download all dependencies
    • goto http://localhost:8080/ to see your application started successfully or not

Comments

Popular posts from this blog

Sharepoint 2007 Showing outlook Inbox using outlook active X control

IIS Configuration Error Error: Cannot write configuration file due to insufficient permissions

Grails - Introduction