-
Install git and curl
-
Clone AATAMS repository
$ git clone https://github.com/aodn/aatams.git -
Switch to AATAMS project directory
$ cd aatams -
Install SDKMAN
-
Install Grails
$ sdk use grails 1.3.7 -
Install Java
$ sdk use java 6u93-zulu -
Setup development database
$ sudo -u postgres ./init_db.sh -
Running app for local development
- See BootStrap.groovy (
DevelopmentDataInitialiser)
$ grails clean$ grails run-app -DinitialiseWithData=true - See BootStrap.groovy (
-
Running test
$ grails clean$ sudo -u postgres ./init_test_db.sh$ grails test-app --echoOut