How to upload a sqlite file?

Hello,

I want to upload a json.sqlite file on my project that already exists on my computer.

Nevertheless, it is put in the part ASSETS but I want to put it outside this one.

How I do ?

Try uploading it to Assets and use Glitch’s console to wget asset-url

1 Like

It’s good, and now ?

Best place to put it is in .data so that when it gets updated, it doesn’t create new versions in the git repo. Console …

mv json.sqlite .data

Then refer to it in your app as '.data/json.sqlite' or maybe /app/.data/json.sqlite'

4 Likes