|
VascanPortalInstallation
Installation of the Vascan-Portal
Warning: These guidelines are not yet complete. Server configuration requirements
Compile VascanBefore compiling Vascan, you have to edit 3 files. You can copy and edit the files from the example folder. hibernate.cfg.xml This file is used by Hibernate to connect to your database. You will need to change the value of hibernate.connection.url to your MySQL database server. installation_cfg.properties This file keeps all installation related paths and configurations. custom_properties.properties Finally, we need to tell the compiler where some files are. You need to change the value after the equal sign to reflect your installation. This file (custom_properties.properties) needs to be in the same directory as build.xml Files you might want to changerobots.txt This file is currently set to tell the Web robots (ex. Google) that they should not visit any pages on the site. See http://www.robotstxt.org/ sitemap.xml Currently, this file is not dynamically generated by Vascan-Portal. If you want to enable the SiteMap you need to update this file. See http://www.sitemaps.org/protocol.php Database setupThis procedure allow you to setup a copy of the current Vascan database. The current Vascan database and the related Lucene indexes are available at : svn checkout http://canadensys.googlecode.com/svn/vascan-database/ Create a new database in you mySQL installation and a new user with all the permissions on this database. Import the vascan_public_sqldump.sql in your database with something like : mysql -hHOST -uUSER -pPASSWORD -DDATABASE_NAME -e "source /tmp/vascan_public_sqldump.sql" Copy the content of the Lucene folder to the folder you specified in the installation_cfg.properties file. | |