Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

Ez dev #235

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open

Ez dev #235

wants to merge 17 commits into from

Conversation

dogeared
Copy link
Member

No description provided.

@robertjd
Copy link
Member

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?

@dogeared
Copy link
Member Author

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?

@dogeared
Copy link
Member Author

Here are the 3 scenarios I am referring to:

  1. no ~/.stormpath/apiKey.properties, nor STORMPATH_API_KEY_FILE env 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]:
    
  2. STORMPATH_API_KEY_FILE specified.

    ** 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):
    
  3. ~/.stormpath/apiKey.properties file 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):
    

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants