diff --git a/README.md b/README.md index 99de3a4..8d36c43 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,9 @@ Features: - viewable on mobile - refreshes the data automatically without having to refresh the whole page (30 seconds) - server-side caching of the data so as not to overwhelm the Octoprint API's (1 minute) + +Requirements: +- php +- git (for deployment script) +- curl (for deployment script) +- jq (for deployment script) diff --git a/deploy-staging.sh b/deploy-staging.sh index 5636d0f..d061ce3 100755 --- a/deploy-staging.sh +++ b/deploy-staging.sh @@ -1,5 +1,11 @@ #!/bin/bash +if command -v curl &> /dev/null && command -v git &> /dev/null && command -v jq &> /dev/null; then + echo "ok" +else + echo "Missing dependencies" +fi + staging_dir="/var/www/staging" repo_owner=lowellmakes repo_name=3dprinterstatus