Main /
LinuxInstallationInstall pre-requisite softwareIf you are comfortable with Java development, generic tools can be used to replace the more advanced environments. You may also use your own editor for code modifications and configurations. These are the tools I've found best match the environment CONGO was developed in. In the future, I hope to be able to adapt the code to more traditional Java environments, using Eclipse for better IDE support, as well as using a normal servlet container, but for now, these are the pieces that have to be used.
Setting your system pathsMake sure the path to your JVM (or JDK for source code versions) is on your path, as well as a path to the Ant binary directory. After setting the paths, check to make sure they work: $ ant Buildfile: build.xml does not exist! Build failed The error message is fine, that's just Ant saying it can't start up in the current directory. Don't worry about it for now, we'll give it work to do later. Checking out CONGO from SVN via svn command lineYou will require a login and password to the SVN repository from Stonekeep. Contact info@stonekeep.com to receive a username and password. Navigate to a directory where you'd like to unpack CONGO. Check out a working version from SVN using the following command: $ svn checkout http://svn.stonekeep.com/svn/congo/trunk This will check out a working copy of the current 'trunk' version of CONGO. Create the database instanceYou should know how to do this already, but the basics for creating a MySQL? instance and setting grant permissions is: mysqladmin create congo (you may need to be root, or supply an administrators credentials here) mysql congo grant all privileges on congo.* to congo@'localhost' identified by 'congo' flush privileges exit Creating the database tablesChange to the congo subdirectory 'structs', and look for the 'do.sh' script. This is a skeleton script designed to load all the MySQL? tables into congo. Depending on your permissions, you should be able to run the load script from the command line. Note you should replace 'congo' with whatever the name of your database instance is set to. $ ./do.sh congo and the 'congo' MySQL? instance will be populated. If you have set up username and password settings, you may need to modify the 'mysql' line in the script to supply the credentials. Once all the imports are complete, CONGO should be ready to run. Your next step should be setting up the server. See ServerConfiguration for details on that. |