Generate config file via build tool.

let you set api server url for grunt, eg:

    grunt server --server="example.com"

also there is grunt package which generates zipped client in dist folder