Reputation: 435
I'm super new to Django and currently working on an application that makes use of the awesome SQLite3 database. Only problem is that every time I deploy to AWS, the database information gets completely wiped. This is horrible for my blog because everyone's comments, likes, etc get deleted. :( How can I maintain the data after deployments? Or what can I use instead of SQLite3 without rewriting too much code?
Thanks!
Upvotes: 3
Views: 443
Reputation: 335
you need to create a file called .ebignore
. this file works like a .gitignore
file and you need to write filenames you didn't want to deploy by per line.
Upvotes: 2