How to get demo
There are two ways to get Ralasafe demo.
The current release ralasafe demo version is 1.1(download from source forge). When a new version is released, we will update in download page.
Runtime environment
- Jdk 1.4+
- Web server likes tomcat
- Mysql database
Ralasafe supports popular databases. But ralasafe demo is build on mysql database.
Installation steps
If you install binary
If you are installing Ralasafe demo binary in tomcat, first create folder in $TOMCAT/webapps/. Then unzip ralasafe-demo.war to demo folder.
Import sql into database
Import sql/demo-mysql.sql to your mysql database. This script will create ralasafe and demo schemas, and import tables and data.
Datasource configuration
- Open WEB-INF/ralasafe/app-ds.properties, change jdbcUser and jdbcPassword to your database username and password;
- Open WEB-INF/ralasafe/ralasafe-db.properties, change jdbcUser and jdbcPassword to your database username and password;
Change web.xml parameter repositoryDir value
Open web.xml, search repositoryDir. Change its value from /home/julian/workspace/ralasafe/xml to the xml folder in your project(or ${TOMCAT}/webapps/demo/xml, replace ${TOMCAT} with actual tomcat installation path).
Run!
Run your web server,
- Browser Ralasafe web console: http://localhost:8080/${context}/ralasafe/designer (version 1.1), or http://localhost:8080/${context}/ralasafe/designer.rls (version in SVN and version 1.1+)
- Browser Ralasafe demo login page: http://localhost:8080/${context}/ralasafe/demo/login.jsp
Have fun!