csdms / wmt-client

A GWT client for the CSDMS Web Modeling Tool
MIT License
0 stars 0 forks source link

Write an install script #65

Closed mdpiper closed 8 years ago

mdpiper commented 9 years ago

Write an install script for wmt-client similar to what @mcflugen has done with csdms/wmt and csdms/wmt-exe.

mdpiper commented 9 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.

mdpiper commented 8 years ago

Closed with 97b6b2ec9eca47e966d338bbf8446b8c186d7679.