Changes between Version 1 and Version 2 of HowToCompile


Ignore:
Timestamp:
Jul 6, 2009, 11:09:35 PM (15 years ago)
Author:
rjwalker
Comment:

Jetty port must now be changed by editing jetty.xml manually

Legend:

Unmodified
Added
Removed
Modified
  • HowToCompile

    v1 v2  
    1 = How to compile GeoNetwork =
     1= How to compile !GeoNetwork =
    22
    3 You don't need to build or use the GeoNetwork installer;
     3You don't need to build or use the !GeoNetwork installer;
    44you can build directly from the source code.
    55
    6 Once you have checked out a copy of GeoNetwork from Subversion,
     6Once you have checked out a copy of !GeoNetwork from Subversion,
    77you need to build the system and initialize the database.
    88
    99
    10  1. Run "ant" in the top level (no need to type "ant all", the default build does the same thing).
    11  2. Change to the bin directory, start up GAST (use either gast.bat or gast.sh as appropriate for you).
    12  3. In GAST, Configure your settings - at least:
    13     * Configuration -> Jetty: change the port number if you like and press Save
    14     * Configuration -> DBMS:  ditto
     10 1. Run `ant` in the top level (no need to type `ant all`; the default build does the same thing).
     11 1. Change to the `bin` directory
     12 1. If you are using a recent checkout of trunk and you don't want to use the default port of 8080, edit `jetty.xml` manually, search for `8080`, and replace it with your port number of choice.
     13 1. Start up GAST (use either `gast.bat` or `gast.sh` as appropriate for you).
     14 1. In GAST, Configure your settings - at least:
     15    * (If using an older version of GAST) Configuration -> Jetty: change the port number if you like and press Save
     16    * Configuration -> DBMS:  change the port number if you like and press Save
    1517    * Database -> Setup:      press the Setup button!
    16     * You get a warning about circular references; this is "normal".
    17  4. Quit GAST.
    18  5. You can now start GeoNetwork using the start-geonetwork.(sh,bat)     script.
    19  6. Done!  Load up in your browser.
    20  7. If you want to load the sample data, start up GAST again, i.e., ''after'' you started GeoNetwork, select Options from the Config menu and enter your database settings - for default !McKoi, select "Use this account" and use "admin" as username and password.  Then go to Database -> Sample data and press the Import button.
     18    * You may get a warning about circular references; this is "normal".
     19 1. Quit GAST.
     20 1. You can now start !GeoNetwork using the `start-geonetwork.`(`sh`,`bat`)     script.
     21 1. Done!  Load up in your browser.
     22 1. If you want to load the sample data, start up GAST again, i.e., ''after'' you started !GeoNetwork, select Options from the Config menu and enter your database settings - for default !McKoi, select "Use this account" and use `admin` as username and password.  Then go to Database -> Sample data and press the Import button.