Thank you Lachlan for your advice, I will check out Two scoops of Django on 
that. I have it at home. Thanks for being so patient and helpful.
   with kind regards 
        Sabine

Am Sonntag, 5. Oktober 2014 22:09:26 UTC+2 schrieb Lachlan Musicman:
>
> I can't recommend the Two Scoops of Django method enough, if only 
> because it's made by people that deploy a lot and from sensible 
> suggestions. 
>
> 1. Just a single code base, but with different branches if needed 
> (hence using DVCS). Then you commit once, and have no synchronisation 
> problems. Any issues in the dev code base you fix immediately it 
> doesn't work in staging or production 
> 2. I have three sites - dev, staging, production, because you would 
> not believe the things I break on first deploy (to staging) 
> 3. Each set up can happen on the same machine - but in different 
> Virtual Envs and wsgi files 
> 4. settings.py becomes settings/base.py settings/dev.py settings 
> production.py settings/staging.py 
> 5. the wsgi is generic, checked into codebase, then excluded in 
> .gitignore. Then each is changed - just that one line referencing 
> settings. 
> 6. Different requirements.txt, to keep on top of which environments 
> are using which add ons. Production doesn't need django-debug, all 
> need python-ldap/django-auth-ldap, but only after the deployment of 
> ldap worked in dev, then staging... 
>
> Check out two scoops - I think it's chapters 3 and 4 
>
> cheers 
> L. 
> 4. 
>
>
> On 6 October 2014 04:37, Sabine Maennel <[email protected] 
> <javascript:>> wrote: 
> > I have my site up and running for the first time, and it was hard to 
> catch 
> > the deadline, but now I need to get to a more professional setup of 
> things. 
> > Can anybody help me with this please: 
> > 
> > So on my host I have two installations : Test and Live 
> > I guess that is fine, right? 
> > 
> > So now on bitbucket I just opened a repository for the deployment. I 
> remeber 
> > my hoster telling me I should do that. 
> > 
> > Then I have a second repository for development on Bitbucket. 
> > 
> > Do I need anything else? Is that the right approach. How will be the 
> > workflow from deployment through testing into the live site. 
> > 
> > Let me guess. 
> > If I want to take something live: it would be the following steps: 
> > commit in my development repository 
> > 
> > copy the changes in my live repository, 
> > send it to the testing area, 
> > test 
> > commit the live repository when the new version is okay and put it live 
> at 
> > the same time 
> > 
> > Do test and live have different wsgi files or the same? 
> > Do I provide the wsgi files or does the hoster do that? 
> > Do I use the same settings in both test and live environment? 
> > 
> > My hoster said I could directly deploy from bitbucket, but I do not know 
> > how. Do you have suggestions on this. 
> > 
> > Does that strategy sound right to you over all or am I missing something 
> > important here. 
> > 
> > Thanks for all the help I got so far in this forum. I really appreciate 
> this 
> > and will try to give back at a later time 
> > 
> > with kind regards 
> >      Sabine Maennel 
> > 
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Django users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > Visit this group at http://groups.google.com/group/django-users. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/django-users/b38240ac-5791-485d-8fed-ec8a278026b6%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> You have to be really clever to come up with a genuinely dangerous 
> thought. I am disheartened that people can be clever enough to do that 
> and not clever enough to do the obvious thing and KEEP THEIR IDIOT 
> MOUTHS SHUT about it, because it is much more important to sound 
> intelligent when talking to your friends. 
> This post was STUPID. 
> -----------------------------------------------------------------------------------------------------------
>  
>
> The Most Terrifying Thought Experiment of All Time 
>
> http://www.slate.com/articles/technology/bitwise/2014/07/roko_s_basilisk_the_most_terrifying_thought_experiment_of_all_time.html
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/880b72ff-daaf-4fd3-9a24-05fac39e6e97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to