Created app in rails and configured postgres db