dtolabs / yana2

Yet Another Node Authority ... because you wanted an agile Real-Time Service Model (RTSM)
8 stars 1 forks source link

searchable error when running in production #133

Closed orubel closed 12 years ago

orubel commented 12 years ago

Searchable throws tomcat error when run in production. To fix this do the following:

from within environment run : grails install-searchable-config

This will create searchable config file in conf directory. Then change this for production:

compassConnection = new File( "/tmp/grails/projects/${appName}/searchable-index/${grailsEnv}" ).absolutePath

Keep in mind this is mostly for *NIX systems. You can also just require them to create the path:

${userHome}/.grails/projects/${appName}/searchable-index/

where user-home is their app-server home dir and give READ-WRITE access to app-server user.

orubel commented 12 years ago

Need to start README file to start putting installation instructions into like this.