source: gs3-extensions/atea-nlp-tools/trunk/src/koreromaori-proxy/setup.sh@ 35485

Last change on this file since 35485 was 35240, checked in by davidb, 3 years ago

Add setup file and ANT configuration tasks to allow including the API key and other properties

  • Property svn:executable set to *
File size: 320 bytes
Line 
1#!/bin/bash
2
3if [ ! -f config.properties ] ; then
4 read -p "Enter your Reo Tuhituhi API key: " key
5 echo "Generating config.properties from config.properties.in."
6 sed -e "s/@tuhituhi.api.key@/$key/g" config.properties.in > config.properties
7else
8 echo "config.properties already exists; no changes made."
9fi
Note: See TracBrowser for help on using the repository browser.