Difference between revisions of "GitHub Install"

From webCoRE Wiki - Web-enabled Community's own Rule Engine
Jump to: navigation, search
(Added more images to make the SmartThings IDE steps a little more clear. Also updated to reflect the addition of webCoRE Storage and webCoRE Dashboard SmartApps.)
Line 17: Line 17:
 
# Select '''webCoRE (master)''' from the list.
 
# Select '''webCoRE (master)''' from the list.
 
#:[[File:Update.jpg]]
 
#:[[File:Update.jpg]]
# Check "webCore.groovy" from the '''New (only in GitHub)''' box. (Do not update both at once.)
+
# Check "webCore.groovy" from the '''New (only in GitHub)''' box. (Do not update all at once.)
 +
#:[[File:Githubinstall_webcoreonly.png]]
 
# Check the '''Publish''' checkbox at the bottom of the pop up.
 
# Check the '''Publish''' checkbox at the bottom of the pop up.
 
# Click the '''Execute Update''' button.
 
# Click the '''Execute Update''' button.
Line 24: Line 25:
 
#:[[File:Update.jpg]]
 
#:[[File:Update.jpg]]
 
# Check "webCoRE Piston.groovy", "webCoRE Storage.groovy"and "webCoRE Dashboard.groovy" from the '''New (only in GitHub)''' box.
 
# Check "webCoRE Piston.groovy", "webCoRE Storage.groovy"and "webCoRE Dashboard.groovy" from the '''New (only in GitHub)''' box.
 +
#:[[File:Githubinstall_allchecked.png]]
 
# Check the '''Publish''' checkbox at the bottom of the pop up.
 
# Check the '''Publish''' checkbox at the bottom of the pop up.
 
# Click the '''Execute Update''' button.
 
# Click the '''Execute Update''' button.
Line 31: Line 33:
 
==Github Installation Troubleshooting==
 
==Github Installation Troubleshooting==
 
[[File:500error.png]]<br>
 
[[File:500error.png]]<br>
If you receive this error it may be because you installed and published both "webCore.groovy" and "webCore Piston.groovy" at the same time. Please do them individually (one at a time) per the instructions. Be sure to install/publish "webCore.groovy" first then "webCore Piston.groovy" after.
+
If you receive this error it may be because you installed and published both "webCore.groovy" and other SmartApps at the same time. Please do them individually (one at a time) per the instructions. Be sure to install/publish "webCore.groovy" first then the others after (See steps 11-16).

Revision as of 17:59, 7 July 2017

Summary

These instructions will help you install webCoRE via GitHub integration.

Installing Source Code into SmartThings Cloud

  1. Login to the SmartThings IDE.
  2. Click on My SmartApps.
    Mysmartapps.jpg
  3. Click the Settings button at the top of the page.
    Settings.jpg
  4. Click the Add new repository link at the bottom of the pop up.
  5. Enter "ady624" in the Owner column.
  6. Enter "webCoRE" in the Name column.
  7. Enter "master" in the Branch column.
  8. Click Save (do not hit the Enter key, it will exit the form without saving).
    Githubrepo.jpg
  9. Click Update From Repo.
  10. Select webCoRE (master) from the list.
    Update.jpg
  11. Check "webCore.groovy" from the New (only in GitHub) box. (Do not update all at once.)
    Githubinstall webcoreonly.png
  12. Check the Publish checkbox at the bottom of the pop up.
  13. Click the Execute Update button.
  14. Click again on Update From Repo.
  15. Select webCoRE (master) from the list.
    Update.jpg
  16. Check "webCoRE Piston.groovy", "webCoRE Storage.groovy"and "webCoRE Dashboard.groovy" from the New (only in GitHub) box.
    Githubinstall allchecked.png
  17. Check the Publish checkbox at the bottom of the pop up.
  18. Click the Execute Update button.

Note: The webCoRE source code has only been copied to your SmartThings cloud account. You must continue to the next step of Enable webCoRE OAuth.

Github Installation Troubleshooting

500error.png
If you receive this error it may be because you installed and published both "webCore.groovy" and other SmartApps at the same time. Please do them individually (one at a time) per the instructions. Be sure to install/publish "webCore.groovy" first then the others after (See steps 11-16).