Closed LeviSchuck closed 3 years ago
In the docs https://github.com/joy-framework/joy/blob/master/docs/database-queries.md
The code
(db/connect)
Should be reading either DATABASE_URL from the environment, or look in the .env file with (env :database-url)
.env
(env :database-url)
Instead, what I must do to use the .env file is use
(db/connect (env :database-url))
I am able to start the application with
DATABASE_URL=./development.sqlite3 joy server
while using
And I am able to start the application with
joy server
In the docs https://github.com/joy-framework/joy/blob/master/docs/database-queries.md
The code
Should be reading either DATABASE_URL from the environment, or look in the
.env
file with(env :database-url)
Instead, what I must do to use the .env file is use
I am able to start the application with
while using
And I am able to start the application with
while using