Real equiangular lines and related codes