-
Notifications
You must be signed in to change notification settings - Fork 14
Setup Checklist
jesseeichar edited this page Nov 23, 2012
·
2 revisions
git clone [email protected]:camptocamp/geocat.git
cd geocat
git checkout geocat_trunk
- Evaluate web/dev-config/override-config-dev-default.xml
- If defaults are not satisfactory then
- Copy file and change defaults
- or
- Create new Xml File with form:
<overrides>
<import file="<full-path-to override-config-dev-default.xml>"/>
... Overrides defaults
</overrides>
Evaluate web/dev-config/log4j-*.properties to see if one satisfies your requirements. If not the create a new one with your username at the end. If one satisfies your requirements then remember the name of the file.
- Create new bin/config-.sh file. must be the value returned by executing whoami from the commandline
- Review the defaults variables in the config.sh file and add the values you would like to override in your local environment.
(from root of checkout) mvn clean install
You will see what appear to be errors when the tests in the web module run. That is fine. The errors will look like:
java.io.FileNotFoundException:
/Users/jeichar/Projects/geonetwork/geocat_trunk/web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19139.che/schematron-rules-iso.xsl (No such file or directory)
javax.xml.transform.TransformerConfigurationException: Failed to compile stylesheet. 1 error detected.
As long as the tests pass then don't worry.
bin/clean.sh
The script can also be used to reset system to a clean state. This is occasionally required when major pulls from the main repository has been done.
bin/run.sh
If all goes well you should be up and running shortly.