DrBAXA / message-center

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

message-center

To deploy to remote server from command prompt you need:

  • Create file settings.xml in local machine ${user.home}/.m2 folder wich contains nex text

     <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
                               http://maven.apache.org/xsd/settings-1.0.0.xsd">
             <servers>
                     <server>
                             <id>remote</id>
                             <username>specify user name</username>
                             <password>specify user password</password>
                     </server>
                     <server>
                             <id>local</id>
                             <username>specify user name</username>
                             <password>specify user password</password>
                     </server>
             </servers>
     
             <profiles>
                     <profile>
                             <id>local</id>
                             <properties>
                                     <server.id>local</server.id>
                                     <server.url>http://localhost:8080/manager/text</server.url>
                             </properties>
                     </profile>
                     <profile>
                             <id>remote</id>
                             <properties>
                                     <server.id>remote</server.id>
                                     <server.url>http://45.79.109.120:8080/manager/text</server.url>
                             </properties>
                     </profile>
     
             </profiles>
     
             <activeProfiles>
                     <activeProfile>local</activeProfile>
             </activeProfiles>
     
     </settings>
    
  • Create directory .pushmessages/properties in ${user.home} and put jdbc.properties, hibernate.properties and app.properties there

  • Create directory .pushmessages/email in ${user.home} and put there template.html. It will be used for creating html emails for user. Example of template.html in resources. Placeholders used in this example can be used in different html tags. If template.html will be not found there default will be used

R integration

Install R if not installed yet: sudo apt-get install r-base Install rserve if not installed yet: sudo apt-get install r-cran-rserve

About


Languages

Language:Java 83.4%Language:JavaScript 11.9%Language:Shell 2.3%Language:R 1.3%Language:Python 0.6%Language:HTML 0.4%