csdms / wmt-client

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

Add Python install script #81

Closed mdpiper closed 8 years ago

mdpiper commented 8 years ago

I've made an install script for wmt-client. Run it with:

$ python install /path/to/webserver/docroot

The script requires python >= 2.7, git, and ant (and therefore javac).

If the docroot of the webserver is root-owned, then the script has to be run with sudo. (Or better, as @mcflugen suggests, use sudo to add write permissions to the docroot, install without sudo, then reset the docroot write permissions.)

mdpiper commented 8 years ago

I successfully used the script to install wmt-client on my Mac, https://solaria.colorado.edu/wmt.

(Note that it won't work, though, because the same-origin policy doesn't allow it to connect to the WMT API server on _river_.)