Open Foris Calc - NFI calculation system
Java JavaScript HTML CSS R Rebol
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
calc-assembly
calc-control-panel
calc-core
calc-installer
calc-jooq-code-gen
calc-server
calc-webapp
doc
lib
.gitignore
License.txt
README
README-DEV
README-manual-installation
README-migration.txt
pom.xml

README

==============================================================
		* Download links
==============================================================
		
- Open Foris Calc:		
	Windows:
	http://www.openforis.org/nexus/service/local/artifact/maven/redirect?r=releases&g=org.openforis.calc&a=calc-installer&v=LATEST&c=windows&e=exe
	
	Linux:
	http://www.openforis.org/nexus/service/local/artifact/maven/redirect?r=releases&g=org.openforis.calc&a=calc-installer&v=LATEST&c=linux&e=run
	
- Open Foris Collect:
	http://www.openforis.org/nexus/service/local/artifact/maven/redirect?r=releases&g=org.openforis.collect&a=collect-assembly&v=LATEST&e=zip
- Open Foris Test Data:
	http://www.openforis.org/nexus/service/local/artifact/maven/redirect?r=releases&g=org.openforis.test-data&a=test-data&v=LATEST&e=zip

	
==============================================================
		* Calc Installation instructions 
==============================================================
1. Download and install Jdk 1.8 + [ http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html ]

2. Download and install  Postgres 9.2 + [http://www.enterprisedb.com/products-services-training/pgdownload]. 
	Note: the required password should be set as 'postgres'.
 
3. Download and install  R 3.1 + [http://cran.r-project.org/]. 
	Note: for Windows users, R should be installed in a folder that 
			contains no spaces, for example "C:\Opt\R\R-3.1.0".
 
4. Download and install Open Foris Calc [ OpenForisCalc-VERSION-PLATFORM-installer.EXTENSION ] at the above link	
	
	Note 1: for Windows users, CALC should be installed in a folder that contains no spaces, 
			for example "C:\opt\OpenForisCalc".
	Note 2:	Administration rights are required.
	Note 3: Both Windows and Linux users will be required to re-start 
			the computer in order to update the required system settings.		

5. Start Calc
	Double click on the "Open Foris Calc Control Panel" located on your desktop.
					
6. Stop Calc	
	Click the stop button available on "Open Foris Calc Control Panel"
	


	
============================================================================
	* Tomcat 7 database parameters configuration
============================================================================

	- The file calc.xml (calc-server/tomcat/conf/Catalina/localhost/calc.xml) contains the database settings as follow. 
		Change them if you don't have the default settings
		
		<?xml version="1.0" encoding="UTF-8"?>
		<Context path="/calc" reloadable="false">
			<Parameter name="calc.jdbc.driver" 			value="org.postgresql.Driver" />
			<Parameter name="calc.jdbc.host" 			value="localhost" />
			<Parameter name="calc.jdbc.port" 			value="5432" />
			<Parameter name="calc.jdbc.db" 				value="calc" />
			<Parameter name="calc.jdbc.url" 			value="jdbc:postgresql://${calc.jdbc.host}:${calc.jdbc.port}/${calc.jdbc.db}" />
			<Parameter name="calc.jdbc.schema" 			value="calc" />
			<Parameter name="calc.jdbc.username" 		value="calc" />
			<Parameter name="calc.jdbc.password" 		value="calc" />
			<Parameter name="calc.jdbc.adminuser" 		value="postgres" />
			<Parameter name="calc.jdbc.adminpassword" 	value="postgres" />
			<Parameter name="calc.jdbc.maxActive" 		value="10" />
			<Parameter name="calc.jdbc.minIdle" 		value="5" />
			
			<Parameter name="saiku.home" 				value="${catalina.home}/webapps/saiku" />
			<Parameter name="saiku.ui.url" 				value="/saiku-ui" />
		</Context>