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!
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.
EB CLI Documentation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With