/*
WebROaR - Ruby Application Server - http://webroar.in/
Copyright (C) 2009 WebROaR
This file is part of WebROaR.
WebROaR is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
WebROaR is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with WebROaR. If not, see
If you would like to set a virtual host for your application e.g. www.company1.com, please specify it here. You can also host this application on a particular subdomain e.g. app1.company1.com.
Wildcard '*' can also be used in defining the virtual host name, but it should only be used either at the start or the end. Prefix the virtual host name with tilde(~), if a wildcard is used in defining it. e.g. (i) ~*.server.com (ii) ~www.server.* (iii) ~*.server.* "
}
if(id=='path')
{
str="Please enter the complete path for your web application root directory: e.g. /home/someuser/webapps/app1."
}
if(id=='runasuser')
{
str="Please enter the name of the user with whose privileges you would like to run this application. (root can be dangerous!). This user should have all the necessary permissions to get your web application working properly. (e.g. write access on required files and directories etc)."
$("application_type1").hide();
$("application_analytics").hide();
}
if(id=='analytics')
{
str="Set this to enabled if you would like to get detailed numbers about the run time performance of this application. This number gathering adds a very small overhead on your application. (Typically it adds < 3ms of additional processing time to the request)."
$("application_environment").hide();
}
if(id=='minworker')
{
str="Default minimum number of worker processes that should run for any deployed application. Multiple worker instances help in processing a higher number of concurrent user requests simultaneously.
(This value can be overridden for a specific application while deploying it.)"
}
if(id=='maxworker')
{
str="Default maximum number of worker processes that should run for any deployed application. Multiple worker instances help in processing a higher number of concurrent user requests simultaneously.
(This value can be overridden for a specific application while deploying it.)"
}
if(id=='most')
{
str="Most Time Consuming URLs : URLs whose response generation took the maximum cumulative time on a specific day. These could be the prime candidate for optimizations."
}
if(id=='hits')
{
str="URL Hits : The hit count for the URLs of the application for the specific day."
}
if(id=='slowest')
{
str="Slowest URLs : URLs whose 'average' time for the response generation was maximum. These are the slowest part of the application, out of all those accessed on a specific day."
}
if(id=='db')
{
str="Database Consuming URLs : URLs whose code spends the maximum time in the database ORM layer."
}
if(id=='port')
{
str="Port : Application server port number."
}
if(id=='log_level')
{
str="Set the default logging level for the server and it's deployed applications. (INFO/WARN/SEVERE/FATAL). The logs are available in /var/log/webroar."
}
if(id=='ssl_port')
{
str="Secure Sockets Layer(SSL) authentication port number."
}
if(id=='ssl_certificate')
{
str="Complete path to the SSL certificate file. e.g. /home/smartuser/ssl-cert/certificate.crt"
}
if(id=='ssl_key')
{
str="Complete path to the SSL key file. e.g. /home/smartuser/ssl-cert/mymachine.key"
}
if(id=='remaining_time')
{
str="Remaining Time covers time spent in executing filters, called actions (statements other than database calls), user defined methods in model, session management by framework etc. "
}
if(id=='access_log')
{
str="Set access log to enabled to capture all HTTP requests to the server. The log is available in /var/log/webroar."
}
if(id=='type')
{
str="In case you are deploying a rack compliant application (merb, sinatra, mack etc), please do create a config.ru file in it's root directory. Please refer the README or the user guide for more details."
$("application_environment").hide();
$("application_analytics").hide();
}
if(id=='app_minworker')
{
str="Please enter the minimum number of worker processes that should run for this deployed application. Multiple worker instances help in processing a higher number of concurrent user requests simultaneously. The server would always ensure at least these many worker processes run for this application."
}
if(id=='app_maxworker')
{
str="Please enter the maximum number of worker processes that should run for this deployed application. Multiple worker instances help in processing a higher number of concurrent user requests simultaneously. The server would ensure that maximum only these many worker processes run for this application."
}
/*Help for mail settings*/
if(id=='mail')
{
str="Configure email settings to receive notifications from the server about the status of the deployed applications. WebROaR can use either SMTP or Sendmail to send these emails."
}
if(id=='smtp_server')
{
str="Host name or IP address of the SMTP Server."
}
if(id=='smtp_domain')
{
str="Hosting domain of your sender email account. e.g. gmail.com."
}
if(id=='smtp_authentication')
{
str="Authentication type of the SMTP account (login/plain/cram-md5/ntlm-spa/digest-md5)."
}
if(id=='smtp_username')
{
str="Username of the email account e.g. smartuser."
}
if(id=='smtp_password')
{
str="Password of the email account."
}
if(id=='smtp_recipients_id' || id=='sendmail_recipients_id')
{
str="Comma separated list of email addresses to whom WebROaR should send notification emails about the deployed applications status."
}
if(id=='sendmail_location')
{
str="Location of the sendmail agent e.g. /usr/sbin/sendmail"
}
if(id=='runasuser')
{
str=str+"