To survive uncertain times, small farms are pivoting to serve their local communities and compete with big box grocers online.