Closed mdpiper closed 8 years ago
The steps that I currently use to build and deploy wmt-client.
$ git clone https://github.com/csdms/wmt-client
$ cd wmt-client
$ ant build
$ # edit war/config.json to set "api_url" and "execution_servers"
$ rm -rf war/data war/save
$ cp -R war /path/to/web/server
$ cd .. && rm -rf wmt-client
Consider adding an ant deploy
command that performs all the tasks after ant build
. Pass api_url
, execution_servers
and the install path as properties with -D
(see example). Or just use Python, which may be easier.
ant
can be installed through Homebrew.
Closed with 97b6b2ec9eca47e966d338bbf8446b8c186d7679.
Write an
install
script for wmt-client similar to what @mcflugen has done with csdms/wmt and csdms/wmt-exe.