Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check for requirements #16

Merged
merged 1 commit into from
Apr 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading