Skip to content

DrBAXA/message-center

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published