diff options
author | Olivier Lamy <olamy@apache.org> | 2011-12-09 14:50:55 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-12-09 14:50:55 +0000 |
commit | 735c42dcf1be196164e1f5e166ddb6c63e0988a6 (patch) | |
tree | 0cafee240a34b991e54ede6abfa16256d8982c8b | |
parent | 7f6693e508a045d491c18dadbcf43985338f2afc (diff) | |
download | archiva-735c42dcf1be196164e1f5e166ddb6c63e0988a6.tar.gz archiva-735c42dcf1be196164e1f5e166ddb6c63e0988a6.zip |
dd notes in README on how to run webapp js and test registration email
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1212456 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | README.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/README.txt b/README.txt index c9854b265..921f57141 100644 --- a/README.txt +++ b/README.txt @@ -15,3 +15,35 @@ and hit in your browser : http://localhost:9091/archiva note with dev profile admin account is automatically created with password admin123 see file : archiva-modules/archiva-web/archiva-webapp/src/test/tomcat/auto-admin-creation.properties +Running webapp full js +======================== +As webapp js is in dev and won't probably be released soon, the module is not activated by default and it's included only in a profile +mvn tomcat:run -pl :archiva-webapp-js -Pjs -am -Pdev + +Test Registration email +======================== +Redback can send email on registration by default the mail jndi si configured to use localhost. +You can use your gmail accout for testing purpose +In your ~/.m2/settings.xml add a property with a path to a tomcat context file: +<tomcatContextXml>/Users/olamy/dev/tomcat-context-archiva-gmail.xml</tomcatContextXml> + +This file must contains: + +<Context path="/archiva"> + <Resource name="jdbc/users" auth="Container" type="javax.sql.DataSource" + username="sa" + password="" + driverClassName="org.apache.derby.jdbc.EmbeddedDriver" + url="jdbc:derby:${catalina.base}/target/database/users;create=true" + /> + <Resource name="mail/Session" auth="Container" + type="javax.mail.Session" + mail.smtp.host="smtp.gmail.com" + mail.smtp.port="465" + mail.smtp.auth="true" + mail.smtp.user="your gmail account" + password="your gmail password" + mail.smtp.starttls.enable="true" + mail.smtp.socketFactory.class="javax.net.ssl.SSLSocketFactory"/> + +</Context> |