Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Preparing Bedework for production involves copying modifying the configuration files , modifying them for your site, and building Bedework.  Bedework uses ant for the build and deploy process and a number of property files are used to control that processeither by editing them directly or using the JMX console. It should not be necessary to rebuild Bedework.  

The steps are as follows:

  1. Copy the entire <quickstart>/bedework/config/bwbuild directory ... most typically to the home directory of the user building the system.
  2. Copy an appropriate configuration directory for your use, e.g. copy bwbuild/jboss-postgresql to bwbuild/myconfig.
  3. Edit Execute the deployConf target – this is required to set up platform dependent paths in the configuration files installed in the system. 
    Do this only once: it will overwrite any future changes you make.
    Aside from editing the database configuration files (step 3), all future configuration changes should be made in the JMX-Console.
  4. Ensure the quickstart works as distributed – it comes with a base set of data. Ensure the clients work and try some of the functions.
  5. Copy and edit the -ds.xml file for each database.  There are five four datasource files - one for each database.  Set the <connection-url>, <user-name>, and <password> in each file.
  6. Add any overrides to bwbuild/myconfig/cal.properties -- copy in text from bwbuild/.defaults/cal.properties as needed (but don't overwrite the org.bedework.global.hibernate.dialect property).
  7. Copy bwbuild/.defaults/cal.options.xml to bwbuild/myconfig/cal.options.xml; set appropriate values for <tzid> and <systemid>Change the hibernate dialect -- to match the database
  8. Make remaining changes to your configuration (using the JMX-Console)
  9. Copy and update the deploy configuration

The pages that follow explain these steps. 

...