Skip to content

Commit

Permalink
Merge pull request #16 from LowellMakes/check_for_requirements
Browse files Browse the repository at this point in the history
check for requirements
  • Loading branch information
leftyfb authored Apr 13, 2024
2 parents 9bdc37a + 6700b22 commit 051ed9f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
6 changes: 6 additions & 0 deletions deploy-staging.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 051ed9f

Please sign in to comment.