Hi,

I'm working on a small project
trying to get used to the development/staging/production setup.

I develop on my local machine,
push to a git repo
and pull from there to staging and then finally to production.

My problem here is that the staging and the production projects are  
deployed on the same server.
Thus, the project folders can't have the same names -
the production folder is called say 'myproject', so the staging folder  
has to be called different, say 'myproject_staging'.

Of course I run into conflicts here -
many imports in my code plus settings.py (INSTALLED_APPS, ROOT_URLCONF)
refer to 'myproject' - and not to 'myproject_staging'.

How can I work around this?
Is it time for me to have a look at virualenv?

-benjamin


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to