andredi15 / trading-journal

A simple app to keep track of trades.
0 stars 0 forks source link

db file should not be tracked in version control #1

Open evanburger opened 2 months ago

evanburger commented 2 months ago

The database itself shouldn't be a part of version control. Only certain data that's exceptionally needed for the operation of the app may possibly be included. But generally what's saved in the repo should be what a developer needs to recreate their own version of a project on their local machine, where they'll work with their own dataset.

andredi15 commented 2 months ago

So I just exclude the db.sqlite3 file from git?

andredi15 commented 2 months ago

I created a .gitignore file in my app folder and added the following code: **/logs db.sqlite3