This is an old revision of the document!
How to configure and install
The latest version of the documentation is always available in the code repository.
Installing 2.10 (draft)
Ignore this and follow the instructions on the link above
$ sudo apt-get install metno-perl-webdev-ver1 $ sudo apt-get install metno-metamod-2.10
If the latter package not available (or you need devel version):
$ curl -O http://repo.met.no/devel/dists/lucid/main/binary-all/web/metno-metamod-2.10_2.10.0-2_all.deb $ sudo dpkg -i metno-metamod-2.10_2.10.0-2_all.deb
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.
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
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.
To start all services (substitute EXAMPLE with your APPLICATION_ID):
$ sudo /etc/init.d/catalyst-EXAMPLE start $ sudo /etc/init.d/metamodServices-EXAMPLE start