Getting a '500' error when trying to install

How did you install discourse? Is this a standard install? Did you upgrade to the current 3.1 version?