Building Membrane Registry
This document describes how to build Membrane Registry from source. If you don't need to edit the source code, there are binary distributions available for download.
To set up the Membrane Registry building environment,
you’ll need to:
- Download and install JDK 1.6.
- Download and install Grails 1.3.4.
- Download and install the Apache Derby Database.
- Check out the Membrane projects from the repository.
- Start the Derby Server.
- Start the Registry.
1. Download and Install JDK 1.6.
- Download the JDK 1.6.
- Execute the downloaded file.
- Set the JAVA_HOME environment variable to the JDK directory.
2. Download and Install Grails 1.3.4.
- Download Grails 1.3.4.
- Extract the zip file.
- Set the GRAILS_HOME environment variable to the grails-1.3.4 directory.
- Add %GRAILS_HOME%\bin to the PATH environment variable.
3. Download and Install the Apache Derby Database.
- Download the latest binary distribution of Apache Derby.
- Extract the zip file.
- Set the DERBY_HOME environment variable to the db-derby-xxx-bin directory.
- Add %DERBY_HOME%\bin to the PATH environment variable.
4. Check out the Membrane Registry from the Repository.
- Checkout the registry from https://predic8.com/svn/membrane/registry/trunk
5. Start the Derby Server.
- Open a command promt.
- Change to a directory where you want the database to be saved.
(eg. cd c:\data\registry) - Run startNetworkServer.bat
- The derby network server is started.
5. Start the Registry.
- Open a command promt.
- Change to the directory where you checkout the registry.
- Run grails run-app
- Take a look at the registry at http://localhost:8080/registry with your browser.