Hi all – its me again I made a change to my .profile so as to store KOKO_SECRET there. But something else must have happened because I now get this error when I try to run the app:
(Ecto.InvalidURLError) invalid url koko_dev, host is not present
I’ve done the folllowing so far:
a) Verified that the database is up by looking at it with pgCommander and also directly on the command line with psql
.
b) manually stopped and started the database.
c) retyped export DATABASE_URL='koko_dev'
in profile
I am pretty sure that my code is OK – I get no error in the terminal windows that I was in and in which I have not executed source ~/.profile
So I am mystified, flummoxed and totally blocked at this point. Yikes!!!
PS. Another check:
$ psql
carlson=# \c koko_dev
You are now connected to database "koko_dev" as user "carlson".
and also
$ psql -U postgres
postgres=> \c koko_dev
You are now connected to database "koko_dev" as user "postgres".
I did the above in both the “good” and the “bad” terminal windows with the same results.