set up basic rails temp and setup postgresql