Friday, February 29, 2008

new site frustration

well you might think deploying simple site is easy. well i just realize that there are so many things that you need to do that with my limited brains i certainly forget something.

so new site plone integration is now going like this:
  1. hopefully i already have some design mockup, if not then i must use all imagination that i can posses to create decant design. i dont want to deploy site that i wont like. i want to create site that i could put under references.
  2. next thing i create new svn repository for every product that i have. most commonly i create two of them mysite.policy, mysite.theme.
  3. on my leptop i already have development buildout for my hosting, so i only add svn:externals to my src buildout directory
  4. then i create product skeleton for my products (paster create -t plone mysite.policy ...)
  5. after that do very similar changes that i do for every site (set mail host, theming, ...)
  6. then i ofcourse need to edit buildout configuration files (buildout.cfg, deployment.cfg) after that i put everything in svn
  7. on my server i first test deployment ... i call that stagging buildout where i test if the installation of new site went smoothly and also check that it didnt effect other sites that are running on the same zope instance.
  8. then setting up apache mysite_vhost.conf file
  9. creating caching directory
  10. creating awstats cont file and datadir
currently my deployment is without varnish, because i'm using simple apache cache-ing. varnish is my next thing that i will focus. i already see many things how to improve deployment story, this post i mostly to put problems on the paper.

then of course comes also billing that i'm currently doing by my "low memory" brains. so some steps towards easier site deploying is necessary.

... well till next time

No comments: