Reputation: 1592
In my django project, db.sqlite3 is under git control(I chose to do so). However when deploying the project to AWS server(using elastic beanstalk), I would like not to deploy db.sqlite3 file.
Database setting is configured inside settings module so even db.sqlite3 file is deployed to the server, the project won't reference db.sqlite3 file. I will probably work fine but I do not want to deploy something unnecessary(db.sqlite3) to be deployed to the server.
How can I not to deploy db.sqlite3 under git control?
Upvotes: 0
Views: 78