Version 5 (modified by 15 years ago) ( diff ) | ,
---|
When installing omg-aggmgr note the following:
- In ogs.rb add variable that represents root directory of the application
DEF_VAR_PATH ="/usr/share/omf-aggmgr-5.2/omf-aggmgr"
- In method register in ogs.rb add root path to server content
#Lets add root path to static server/service content cfg.merge!('varPath' => "#{DEF_VAR_PATH}")
- Add file handler to public_html directory in startServer method. This is necessary for grid status front-end and for new scheduler developing.
path = DEF_VAR_PATH + "/public_html" @@server.mount("/public_html/", HTTPServlet::FileHandler, path) { raise HTTPStatus::NotFound, "#{path} not found." }
Note:
See TracWiki
for help on using the wiki.