How to configure and install

The latest version of the documentation is always available in the code repository.

Installing 2.10 (draft)

For instructions, read the official installation guide. Below is a short summary for illustration, which may or may not be up to date.

1. Add http://repo.met.no/devel to /etc/apt/sources.list as described here (sorry, currently not available outside met.no).

$ sudo apt-get install metno-perl-webdev-ver1
$ sudo apt-get install metno-metamod-2.10

2. Copy the example config:

$ cp -r /opt/metno-metamod-2.10/app/example .

Then edit example/master_config.txt as needed. For local testing, set APPLICATION_USER to your own login.

3. To install all services:

$ /opt/metno-metamod-2.10/install_jobs.sh -u example
$ /opt/metno-metamod-2.10/common/prepare_runtime_env.sh example

4. Try starting Catalyst:

$ export PERL5LIB=/opt/metno-perl-webdev-ver1/lib/perl5
$ /opt/metno-metamod-2.10/catalyst/script/metamodweb_server.pl -d example

MetamodWeb should now be available on http://localhost:3000/. Stop with ctrl-c.

5. To start all services (substitute EXAMPLE with your APPLICATION_ID):

$ sudo /etc/init.d/catalyst-EXAMPLE start
$ sudo /etc/init.d/metamodServices-EXAMPLE start

Initialization

See How to test the software.