Service scripts for managing a secure [file tree] (https://github.com/garden/tree) instance.
redirect
This service redirects HTTP requests to HTTPS.tree
This service runs a secure [file tree] (https://github.com/garden/tree) server.warden
This service watches thetree
service, and restarts it when needed.update
This service listens for GitHub push events on port 1123 to update yourtree
repo.
- Make sure you have
node
,git
andcurl
. - Create a user called
dom
. bash -c "$(curl https://raw.github.com/garden/services/master/install.sh)"
sudo service redirect start
This will redirect HTTP traffic to HTTPS on your server.sudo service warden start
This will automatically start and watch thetree
service for you.sudo service update start
This will update yourtree
repo on each GitHub push request.