This directory contains the legacy, non-docker installation scripts/tools.
Installation Scripts:
- install.sh - This is a stand-alone bash script that will install Fermentrack onto a Raspbian distro
- update-tools-repo.sh - This is a stand-alone bash script that will update fermentrack-tools to the latest version
- fix-environment.sh - This script is designed to "reset" a non-docker Fermentrack environment to what Fermentrack expects if errors occur
- install-legacy-app-support.sh - This modifies Apache's default virtualhost configuration & ports.conf to run on a different port from Nginx
- ../automated_install/auto-install.sh - This is a bash script that is intended to be called via
curl -L install-nondocker.fermentrack.com | sudo bash
Nginx Config Files:
- default-fermentrack - This is the default nginx configuration file for Fermentrack and runs the app on port 80 from the default installation location (/home/user/fermentrack)
- optional-apache - This tells nginx to open port 81 for the purpose of serving files that are housed at the default location for Apache (/var/www/html). This allows apps that were previously served by Apache to be easily served by nginx instead.
Want to quickly install Fermentrack onto your Raspberry Pi? Installation can now be completed with one easy command:
- Log into your Raspberry Pi via SSH (or bring up the terminal)
- Run
curl -L install-nondocker.fermentrack.com | sudo bash
- Done!
Prefer to install everything manually? No problem. Just run the following and you'll be up and running quickly:
- Log into your Raspberry Pi via SSH (or bring up the terminal)
- Run
sudo apt-get update
andsudo apt-get upgrade
- Run
sudo apt-get install -y git-core build-essential python-dev python-virtualenv
- Clone the
fermentrack-tools
repo usinggit clone
- Run
sudo fermentrack-tools/non_docker_install/install.sh
- Follow the prompts on screen to complete installation
- Done!
This script was originally based on the fantastic brewpi-script by Elco/Freeder. Since then, it has been modified to install Fermentrack (instead of brewpi-www and brewpi-script) and utilize scripts in those repos to manage updates.
The automated installer was inspired by the Pi-Hole project.
PLEASE NOTE - Piping anything - especially from a website - to bash
is dangerous -- and especially so when piping to sudo bash
. If you feel more comfortable installing things manually, please do so.
Note - this is untested under recent versions of Raspbian. If you do this, please report back with your results!
Unlike RaspberryPints, brewpi-www, and certain other applications, Fermentrack is designed to run using nginx instead of Apache. To support installing these applications alongside Fermentrack a sample nginx configuration file is included which replicates the environment expected by Apache.
Although this method can be used to run both Fermentrack and legacy BrewPi-www on the same Raspberry Pi, this is not recommended as it can result in unexpected behavior on controllers used by both applications.
To set up support for legacy (apache) applications, use the instructions below:
- Log into your Raspberry Pi via SSH (or bring up the terminal)
- Run
curl -L install-legacy-support.fermentrack.com | sudo bash
- Done!
- Log into your Raspberry Pi via SSH (or bring up the terminal)
- Clone the
fermentrack-tools
repo usinggit clone
- Run
sudo fermentrack-tools/non_docker_install/install-legacy-support.sh
- Follow the prompts on screen to complete installation
- Done!