The Rails Port

I’m trying to install The Rails Port through this instructions:
I have 2 questions:

  1. Does The Rails Port have a login system like OSM or it is only for standalone purposes?
  2. In the following command:
bundle exec rake yarn:install

It gives me the following error:

I’m using Ubuntu Bash on Windows 10 x64

Another screenshot, but now with the --trace command

Solved this problem with Tom Hughes’s suggestion at GitHub

But now I’m stuck in the next step.
When I run the command

 bundle exec rake db:create

It gives me the following error:

Looks like your Postgres database is not up and running.

Please don’t post the same question here and on Github as an issue, as you’re wasting people’s time this way!