-
Notifications
You must be signed in to change notification settings - Fork 24
How to Setup WISE: Latest Deployment Model
The method for deploying the latest version of WISE is mostly the same as WISE Stable Deployment Model, but instead of downloading the wise-X.war file in step 4, you will be checking out the latest codebase and building it on the server. You can also follow these steps to make custom builds of WISE.
If you'd like to contribute to the open source effort or ask questions to developers about programming or about this page, email us here: https://groups.google.com/group/wise-dev
- Git
- Maven
- Other things in the WISE Stable Deployment Model page
1. (You will only need to do this the first time) Work through steps 1-3 on WISE Stable Deployment Model to set up tomcat.
2. (You only need to do this the first time) Get the latest codebase from git and configure settings.
# Clone wise $ git clone git://github.com/WISE-Community/WISE.git # Copy src/main/resources/wise_sample.properties # to src/main/resources/wise.properties # and edit wise.properties to match your environment (see comments in the file for details) $ cd WISE WISE $ cp src/main/resources/wise_sample.properties src/main/resources/wise.properties WISE $ emacs src/main/resources/wise.properties
3. Use maven to compile and package the web application.
# Build and package. This will make wise.war in WISE/target directory. WISE $ mvn -Dmaven.test.skip=true package
4. Use this wise.war file for step 4 in WISE Stable Deployment Model
5. Work through the remaining steps in WISE Stable Deployment Model
For Tomcat v7.0 general logging, change conf/logging.properties.
For WISE logging, change WEB-INF/classes/log4j.properties. For example, change value for "log4j.rootLogger" from "INFO"/"ERROR" to "DEBUG, stdout". "DEBUG" gives you maximum logging.
log4j.rootLogger=DEBUG, stdout
For more info on Tomcat logging, see this page: http://tomcat.apache.org/tomcat-7.0-doc/logging.html