elsirion / fedimint-observer

Fedimint Federation Explorer
https://observer.fedimint.org
10 stars 11 forks source link

chore: fix sample.env #3

Closed justinmoon closed 6 months ago

justinmoon commented 6 months ago

All prefixes should be FO for "FEDIMINT OBSERVER"

I was now able to run the following to get it working:

cp sample.env .env

// creates empty sqlite db file ... without this it was complaining that it couldn't open db
sqlite3 test_db.sqlite "VACUUM;"

cargo run
elsirion commented 6 months ago

I was now able to run the following to get it working:

cp sample.env .env

// creates empty sqlite db file ... without this it was complaining that it couldn't open db
sqlite3 test_db.sqlite "VACUUM;"

cargo run

Just touch test_db.sqlite should do the trick too. SQLite accepts empty files afaik. Haven't found a way to auto-create so far.