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