Ez dev
yo @dogeared , I did some worthsmithing to the readme and added a commit, lmk if you have any issues?
Also: ez_dev will prompt me for an application href, but it won't prompt me for ID or Secret if I don't have those available anywhere. The script will continue on and pop open the page in the browser, but nothing is actually available because it seems that the fakesp server is silently failing to start?
wordsmitthery is good.
It should prompt you for id and secret if it doesn't find an environment variable called STORMPATH_API_KEY_FILE and it doesn't find ~/.stormpath/apiKey.properties. I tested this locally and it works as expected. Are you seeing something different?
Here are the 3 scenarios I am referring to:
-
no
~/.stormpath/apiKey.properties, norSTORMPATH_API_KEY_FILEenv variable** result: ask for API KEY ID and API KEY SECRET **
➥ ./ez_dev.sh Setting up... Enter your Stormpath API Key ID and press [ENTER]: -
STORMPATH_API_KEY_FILEspecified.** result: no need to ask for API KEY ID and API KEY SECRET **
➥ STORMPATH_API_KEY_FILE=~/.stormpath/apiKey.fruitful-ring.properties ./ez_dev.sh Setting up... Enter your Stormpath Application HREF and press [ENTER] (default: default Stormpath Application): -
~/.stormpath/apiKey.propertiesfile exists** result: no need to ask for API KEY ID and API KEY SECRET **
➥ ln -s ~/.stormpath/apiKey.fruitful-ring.properties ~/.stormpath/apiKey.properties ➥ ./ez_dev.sh Setting up... Enter your Stormpath Application HREF and press [ENTER] (default: default Stormpath Application):