[Booki-dev] Reinstalled Booki, now picture uploads don't work

Aleksandar Erkalovic aerkalov at gmail.com
Thu Jun 16 04:50:23 PDT 2011


Hi James,

On Thu, Jun 16, 2011 at 1:01 AM, James Simmons <nicestep at gmail.com> wrote:
> The migration instructions for Booki are the worst I have ever seen.
> django-admin shell?  Really?  Spending half an hour trying to figure
> out just what value
>
> export DJANGO_SETTINGS_MODULE=
>
> should have and giving up because NOTHING makes django-admin happy?

instructions in INSTALL file are very simple and straightforward.
Install script even creates settings file with all the paths, default
options inside and needed directories. It can also check if needed
python modules are installed on the system. It also creates for you
apache wscgi file and shell file with all the defined PATHs and
environment variables. No need to setup any variable or configure
option (if you decide to use sqlite). Even this DJANGO_SETTINGS_MODULE
is defined for you. All you need to do, before using django-admin, is
to load environment variables from created file. That's all. It is
simple setup that allows more then one installation of booki on the
system and very easy management of different installations.

You are not the only one who has problems with "not loading
environment variables". I explained this problem before to you and
adam on the mailing list. Well, it is not a problem, it is just the
way it works. It allows me to have Booki 1.1, Booki1.2 and Booki 1.3
with different dependencies and Django 1.2 or Django 1.3 installed. It
allows me to upgrade only one site to newer version while the others
can still run old code with old dependencies. I find it to be very
useful benefit. If Booki was iPad, i would put everything in /etc/.
You would be able to have only one install, and you will never have to
load anything. Luckily, it is not iPad.

I don't think this setup is too complex but i am aware it is not
understandable to some people.  At my commercial work i am technical
support for IBM systems and DBA for IBM Informix. I manage banks,
government institutions, ministry of defense, ministry of health,
medical history for all citizens and etc... With just one customer i
manage ~1300 different installations of IBM Informix across country
this way. AIX, HP-UX, Linux, SCO on machines.  Works perfectly and
except me they have no other database administrator to manage it. Even
their administrators who can barely use mouse have figured out how to
load different environments. I like this kind of setup and i think, as
different it can be, it has more benefits then some other solution.

Anyhoo, happy you manage to make it work.

aco


-- 
 http://www.binarni.net/



More information about the Booki-dev mailing list