Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

test page for Grails projects

...

Account

Device 

Location

Energy



Steps after Grails setup gtcrud1

grails help

grails <env> cmd

to persist data user  env = test or prod ( vs dev )

configuration resources

//Google Drive/_work/learn/blearn-pc/grails/gtcrud1/web-app

cd /Users/jimmason/aswt/g2/gtcrud1

source ~/setGroovy.sh

environment setup

setGroovy.sh 

#

echo "----------- "

echo " setGroovy.sh - adds Groovy home  to path"

echo " "

#

#  $GROOVY_HOME set

export MYSQL_JDBC=/Users/jimmason/_dev/lib/mysql-connector-java-5.1.34.jar

export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home

export GROOVY_HOME=/Users/jimmason/_dev/groovy24/;

export GRAILS_HOME=/Users/jimmason/_dev/grails244/;

export PATH=$PATH:$GROOVY_HOME:$GROOVY_HOME/bin:$GRAILS_HOME:$GRAILS_HOME/bin

export CLASSPATH=$MYSQL_JDBC:$CLASSPATH

echo $PATH

Application build steps

grails createApp  gtcrud1

...