0 Replies Latest reply on Feb 9, 2015 8:55 AM by baronzemm

    jiveapps/applications/props at master · jivesoftware/jiveapps · GitHub




      jiveapps - Jive App Examples

      1. Set up a postgres database with the schema described below. If you're going to be using heroku to run the app, heroku's postgres add-on is a good option.
      2. Deploy props-server to heroku (git push heroku ...)
      3. Check that your server is running: curl http://[YOUR_PROPS_SERVER]/manage/ping ... and connected to the DB: curl http://[YOUR_PROPS_SERVER]/manage/health/check curl http://[YOUR_PROPS_SERVER]/manage/health/connectivity More info about these endpoints is below.
      4. Run grunt in props-app after configuring it as indicated above
      5. Configure a Jive App in your instance: https://community.jivesoftware.com/docs/DOC-65551 Note: You may want to change the title of the Jive app in app.xml
      6. Get the app-id, key and secret for your Jive App
      7. Run this to register your app with your server: curl -H "Content-Type: application/json" -X PUT -i http://[YOUR_PROPS_SERVER]/keys/[YOUR_APP_ID] --data '{ "key": "[YOUR_API_KEY]", "secret": "[YOUR_API_SECRET]", "gateway": "[YOUR_GATEWAY]", "description": "[APP_NAME]" }'
      8. Check that your keys have been registered: curl -X GET http://[YOUR_PROPS_SERVER]/keys ... and that the app is ready to use: curl http://[YOUR_PROPS_SERVER]/manage/health/metrics There should be at least one Jive instance registered, and at least 8 prop types.
      9. Deploy props-app in your instance (git push jiveapps ...)
      10. Profit!
      Super late to the game I know. I was curious if the instructions here still apply for running this app locally. In particular steps 5,6,7 and 9 seem a little vague. 

      Shared with Jive Anywhere