vitorfs / parsifal

Parsifal is a tool to assist researchers to perform Systematic Literature Reviews
https://parsif.al
MIT License
415 stars 172 forks source link

unable to open databasefile #45

Closed samazaphikel closed 2 years ago

samazaphikel commented 6 years ago

image

I cant connect to the database

vitorfs commented 2 years ago

When using SQLite3 the path to the file must be somewhere your application can reach

You can change that on your .env file:

DATABASE_URL=sqlite:////tmp/db.sqlite3

In the example above it is pointing to the temp folder.

To place it elsewhere, just change the path:

DATABASE_URL=sqlite:////Users/vitor/dev/parsifal/parsifal.sqlite3