Tag Archives: good

Board Room – Code of Conduct


Few days back I went for one meeting and was sitting at client meeting room.

Got these “Ground Rules” and liked very much.

  • Be Prompt.
  • Come Prepared
  • State Purpose and Review Agenda
  • Everyone should Contribute Constructively
  • Pay Attention and Be Courteous.
  • Be Focused on Topic.
  • Summarize Issues and Decisions.
  • Assign Action.

Happy Meeting.

Installing Groovy-Grails on Ubuntu


Now a days I am working with Groovy/Grails. This is really awesome language. Installing this in Ubuntu is very easy and this can be done very fast and in easy way. So how I installed Groovy/Grails up and running.

First install openjdk and groovy. Since in ubuntu these 2 packages are already available. So install it via apt-get.

sudo apt-get install openjdk-6-jdk
sudo apt-get install groovy

java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1)
OpenJDK Client VM (build 14.0-b16, mixed mode, sharing)

groovyConsole

Now for installing Grails. We need to install via binary zip file.
Get the latest Binary Zip file and save to some of your location.
Unzip the folder and move to /usr/share/grails/
I just moved grails to /usr/share/ because ubuntu install Groovy at /usr/share/groovy so making the similarity.

Now Set the JAVA_HOME and GRAILS_HOME path for your profile. Since we are installing Grails via zip binary so we need to tell the system that where is Grails and where is JAVA.

Open ~/.profiles file and add these lines at the top.

JAVA_HOME=/usr/lib/jvm/java-6-openjdk
GRAILS_HOME=/usr/share/grails
PATH=$PATH:/usr/share/grails/bin
export JAVA_HOME PATH
export GRAILS_HOME PATH

And logout and login again and do

printenv

This will show you that Grails path is set for our profile.

Now just say

ganu@ganu:/usr/share/grails$ grails
Welcome to Grails 1.3.6 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /usr/share/grails

Use ‘grails help’ for more info or ‘grails interactive’ to enter interactive mode

DONE !! WOW.

How to check where Groovy-Grails combination is working.

Go to your development Grails folder.

ganu@ganu:~/grails$ grails create-app wpdemo
Welcome to Grails 1.3.6 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /usr/share/grails

Base Directory: /home/ganu/grails
Resolving dependencies...
Dependencies resolved in 2867ms.
Running script /usr/share/grails/scripts/CreateApp_.groovy
Environment set to development
...........
Executing tomcat-1.3.6 plugin post-install script ...
Plugin tomcat-1.3.6 installed
Plugin provides the following new scripts:
------------------------------------------
grails tomcat
Created Grails Application at /home/ganu/grails/wpdemo
ganu@ganu:~/grails$ cd wpdemo/
ganu@ganu:~/grails/wpdemo$ ll
total 28
-rw-r--r--  1 ganu ganu  178 2011-02-13 03:43 application.properties
drwxr-xr-x 10 ganu ganu 4096 2010-12-15 08:22 grails-app
drwxr-xr-x  2 ganu ganu 4096 2011-02-13 03:43 lib
drwxr-xr-x  2 ganu ganu 4096 2011-02-13 03:43 scripts
drwxr-xr-x  4 ganu ganu 4096 2011-02-13 03:43 src
drwxr-xr-x  4 ganu ganu 4096 2011-02-13 03:43 test
drwxr-xr-x  7 ganu ganu 4096 2010-12-15 08:22 web-app
ganu@ganu:~/grails/wpdemo$ grails run-app
Welcome to Grails 1.3.6 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /usr/share/grails

Base Directory: /home/ganu/grails/wpdemo
Resolving dependencies...
Dependencies resolved in 2986ms.
Running script /usr/share/grails/scripts/RunApp.groovy
Environment set to development
...........
Running Grails application..
Server running. Browse to http://localhost:8080/wpdemo
Groovy/Grails SEtup

Groovy/Grails SEtup

Happy Programming.

india startup tips in proto.in


No , No I am not a strtup guy. I don’t have any thing to start now.

Yea but I can work for you. So if you have any thing to work/code/analyse/test/hack then let me know, that I can do that.

Yesterday I was watching the Official proto.in video channel and after so many days I liked the talk given my Mr. Mahesh Murthy. I really got some energy to think more for some idea and work for it. Let see.

Here i am summarizing the points what he mentioned in his talk, that will be helpful for me and other in future.

  • If you have a product in your mind don’t even bother just go ahead. Your idea is your idea and if you think is good then just go ahead.
  • Price – Price of the product is your weapon.
    • Never give lesser price to your product. Analyze the price and give the competitive price of your product. Your price would give the tension to your competitor.
    • He gave good example that if you are 20 person company then by lesser price you can never catch a 2000 person company, they will be
      always ahead.
    • Only competitive price will give tension to the opposite party.
  • User Interface – UI should be good. No compromise with UI.
    • bad, crappy UI shows the cheapness in your product.
    • Good UI will give good competition.
  • Customers – Getting customers/users for your site.
    • Any startup look for first 100 customers. If they are with feel-good-fector then automatically 100 will converted to 100*n times.
    • Get your customers/users from confs/events/get-together. At these places you can adv your product free of your cost.
    • For paid confs/events, represent your self as speaker so your will get free entry. 🙂
  • Marketing – He gave one statement, sorry I dont understant that.
    • Not necessary that more budget will give more success.
    • “Competence is a marketer, is inversely proportional to your marketing budget.” I really don’t understood this. 😦
    • “More the budget is less the brain”. 🙂
  • Be the Master
    • Be the master in your field.
    • Do some research in your field and you should be thought leader in your field.
  • Don’t follow the trends
    • You can almost never be successful by following the trend.
    • Trend is like end.

Wow, what a nice talk, you can get/see/watch/listen more talk on Official proto.in video channel.

Till then I will collect more talk and summarize this for you all and for me too. 🙂

Happy Startup. 😛