I almost finished writing my app in django, and checked out the steps to deployment. The thing I left to do is to switch my sqlite db to postgresql but do I need to do that in my deployment stage? won't I be installing postgresql db in deployment stage anyway since I will be using new system that digitalocean or aws provides? also for limited budget, I should be using digital ocean right?
Asked
Active
Viewed 76 times
-2
-
I changed `development` to `deployment`, any objections? – doniyor Jan 18 '16 at 04:56
-
aand it is not clear what you ask.. – doniyor Jan 18 '16 at 04:57
-
1If you're looking for ways to handle production and development settings, that's not a simple Q&A. There's a lot of resources on the web for this, such as ... http://stackoverflow.com/questions/10664244/django-how-to-manage-development-and-production-settings – Ian Price Jan 18 '16 at 05:14
1 Answers
0
If you want to clone project from local machine to VPS, like Amazon or Digital Ocean. You need to create enviroment like in local pc. Create new DB server, if you will use PostreSQL or MySQL, with SQLite you dont need it.
Also you need to delete old migrations from apps.

Ivan Semochkin
- 8,649
- 3
- 43
- 75
-
thank you the answer I was looking for, so simple answer to my question is yes right? – mike braa Jan 18 '16 at 07:46
-
yes, if you want to use PostgreSQL, you need to install new SQL server in VPS – Ivan Semochkin Jan 18 '16 at 07:52
-
thank you, I;m getting createuser: could not connect to database postgres: could not connect to server: No such file or directory tho...I googled it and am trying to solve it right now – mike braa Jan 18 '16 at 08:03