Author: manolo Date: Wed May 2 17:20:19 2012 New Revision: 1333121 URL: http://svn.apache.org/viewvc?rev=1333121&view=rev Log: Update info about how to use demo-mode
Modified: james/hupa/trunk/README.txt Modified: james/hupa/trunk/README.txt URL: http://svn.apache.org/viewvc/james/hupa/trunk/README.txt?rev=1333121&r1=1333120&r2=1333121&view=diff ============================================================================== --- james/hupa/trunk/README.txt (original) +++ james/hupa/trunk/README.txt Wed May 2 17:20:19 2012 @@ -7,10 +7,10 @@ $ mvn clean package Hupa uses a properties file to know the IMAP and SMTP servers configuration. There is an example configuration file in 'server/src/main/webapp/WEB-INF/conf/config.properties' -- You can put your configuration parameters in either of these files: +- You can set your configuration parameters in either of these files: $HOME/.hupa/config.properties /etc/default/hupa -- Or anywhere if you start your application server with the parameter: +- Or in any other file if you start your application server with the parameter: -Dhupa.config.file=full_path_to_your_properties_file ##### Running Hupa ################## @@ -26,13 +26,15 @@ If you prefer to use any other servlet c By default hupa is configurated as a gmail imap/smtp client, use any gmail valid account to login. NOTE: that previously to use a gmail account via imap you should enable imap in your gmail account. -###### Using hupa in demo mode ################# +###### Demo Mode ################# In demo mode it is not necessary any imap or smtp server. A bunch of example messages and folders are shown to the user to be manipulated. Almost every hupa feature work in demo mode. -To enable demo mode for incoming messages set 'IMAPServerAddress=demo-mode' and -'SMTPServerAddress=demo-mode' for outgoing messages. +To enable demo mode set 'IMAPServerAddress=hupa.demo' or start your servlet container with the +parameter 'hupa.demo' + +$ java -Dhupa.demo -jar target/hupa-${version}.war To login into the system in this mode use the user 'demo' with password 'demo' @@ -42,9 +44,10 @@ and google plugins, then go to Import -> shared, mock, server, widget and client. - To run hupa in hosted mode, select: Run as -> (Google) Web application. - * May be you need to specify the appropriate hupa configuration file if you do not - have a suitable file in $HOME/.hupa or /etc/default/hupa you should add the following line - to the "vm argument" in the Run configuration: + * May be you need to specify the appropriate hupa configuration file if you do not want to + run it in demo mode. + If you don't have a suitable file in $HOME/.hupa or /etc/default/hupa you have to add the + following line to the "vm argument" in the Run configuration: -Dhupa.config.file=folder_to_hupa_dources/server/src/main/webapp/WEB-INF/conf/config.properties - If you compile hupa with google's eclipse plugin and you get the message: --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org