Updated for Grails 2.1.1
Video #4: In this Grails Example, we will set up our development environment on an OS X system.
This first video shows you how to install Grails and Java on OS X. To install Grails, you will need a Java Developers Kit (www.apple.com), and the Grails libraries (www.grails.org). This video will show you how to download and install both. It then shows how to set up the appropriate Bash profile to allow you to run Grails commands from the terminal.
Video #5: In the second video, you learn how to install an Integrated Development Environment (IDE) based on Eclipse called the Groovy/Grails Tool Suite. This tool is pre-configured for Groovy and Grails to give you features such as syntax highlighting and code completion. The video shows you how to install it and configure it for the Grails 2.1.1 environment that you installed in the previous video.
hola, excelente video! gracias por la aportación, podrias hacerlo en español o con subtítulos por que no le entiendo muy bien… cuando haces el grails-2.2.2 y enseña a configurarlo con mysql por favor
Just in case you were curious, vim is Vi iMproved. Its an extended version of VI, runs the same commands, but has slight modifications to it.
Excellent. Thanks for letting me know.
Thank you! for the video.
Very nice, thank you. But, I wouldn’t set GRAILS_HOME in the .bash_profile to a specific grails version. Instead I would create a soft link in the grails directory that points to the current used version of grails, like this:
ln -s /users//grails/grails-2.2.0 /users//grails/grails
The main advantage is, in case of a new grails version, you only need to update the soft link and don’t need to update your .bash_profile or other files.
I like that idea, thanks. When I update the videos for Grails 2.2, I’ll include that.
Mike
Love your videos. I tried installing Groovy/Grails Tools Suite (Version: 3.1.0.RELEASE
Build Id: 201210061306) on Mac OS X 10.6.8(not Mountain Lion) but keep getting this error:
Error Error loading plugin manager: Could not create a new instance of class [ResourcesGrailsPlugin]! (Use –stacktrace to see the full trace)
any ideas??
Thanks
Love the video. I was wondering if you have to have Mountain Lion to run the newer version of Grails. I am running on Snow Leopard (yea I am behind) and when I follow the video exactly and type “grails -version” in my terminal, I get “command not found”.
My first videos were on Snow Lion and it worked fine. The message you are getting is because your path must not be set up. Try to change directories into the bin directory under where Grails is installed. If the commands work there, you just need to add the path to your profile. I think MacOS stores the bash profile in a different place than Mountain Lion though.
Flawless guideline in video.
With step-by-step guides accompany would be perfect.
Well done!
my mac does not show whether its 32 bit or 64 bit… at least not the you showed in the video…
System Software Overview:
System Version: OS X 10.8 (12A269)
Kernel Version: Darwin 12.0.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: Vikram’s Mac mini
User Name: Shantanu Nanoty (snanoty)
Secure Virtual Memory: Enabled
Time since boot: 5:13
this is what is displayed..
got it… dont bother… Excellent tutorials though!!! thanks a lot…
Glad you got it sorted. Mountain Lion only runs in 64-bit mode, so they don’t display that attribute any more.
How to create an browse butto and create an upload form using grails will show me step by step procedure to doing it.
Doesn’t even talk about how to set java_home and grails_home
Thanks for the input. I just updated the videos for Grails 2.1 and include that now. Also, if you are following the course and stay in the Eclipse environment, the IDE takes care of those.
You must participate in a contest for top-of-the-line blogs on the web. I will suggest this web site!
Howdy. Very nice website!! Man .. Excellent .. Amazing .. I’ll bookmark your website and take the feeds additionally…I’m glad to find so much useful information here in the post. Thank you for sharing..
This actually answered my problem, thanks!
Excuse me, but I attempted to email you regarding an issue on your site but the given email address did not work. Is there some other place I could get in touch with you?
Feel free to leave your issue in the comments and I will do what I can to help.
Very nice post, I certainly love this website, keep on it.
Thanks very interesting info.
Very good knowledge! I have been seeking for everything such as this for a time finally. With thanks!
Had fun today not coding myself but mentoring the team up on some groovy/grails.