The Wayback Machine - https://web.archive.org/web/20200825113907/https://github.com/dwyl/phoenix-chat-example/issues/5
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible readme update #5

Open
parkhabit opened this issue Mar 22, 2018 · 3 comments
Open

Possible readme update #5

parkhabit opened this issue Mar 22, 2018 · 3 comments

Comments

@parkhabit
Copy link

@parkhabit parkhabit commented Mar 22, 2018

As a first time Pheonix user I followed the Step 1 in the readme and created the app, but when checking to see if I had done it properly I received the following error message numerous times, filling my terminal.

[error] Postgrex.Protocol (#PID<0.363.0>) failed to connect: ** (Postgrex.Error) FATAL 3D000 (invalid_catalog_name): database "chat_dev" does not exist

I understand that the site works correctly as shown in the demo and that this error occurred as I had not created my database yet. However, I wasn't expecting to see a terminal full of errors and I thought it may put some newer users off.

Perhaps you could consider moving Step 6 Create/Configure Database into Step 1 Or noting that when starting the server there will be errors and the reason for them at this time.

@nelsonic
Copy link
Member

@nelsonic nelsonic commented Mar 22, 2018

@parkhabit great point! (thank you for taking time to open this issue)
we could re-jig the tutorial to instruct people to mix ecto.create sooner
or advise that there will be errors in the terminal until the DB is created ...
What is your preference?

@nelsonic nelsonic added the question label Apr 27, 2018
@shirleymiao
Copy link

@shirleymiao shirleymiao commented Sep 28, 2018

Just ran into this as well. The easiest fix is probably to advise that there will be errors in the terminal until the DB is created!

@iteles
Copy link
Member

@iteles iteles commented Sep 28, 2018

@shirleymiao Thanks for commenting and for letting us know! We'd very much welcome a pull request to that effect if you're up for it 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.