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

adam adam at flossmanuals.net
Thu Jun 16 05:41:52 PDT 2011


i think James you are at the cutting edge of this. There are not so many 
examples of booki being implemented outside of this group. So anything 
you can help us document is actually pretty essential so many thanks for 
doing this, it really helps a lot.

adam

On 06/16/2011 02:38 PM, James Simmons wrote:
> Adam,
>
> I'm off work this week and I don't want to risk my book in progress,
> Next week I'll be back at work and I plan to do a fresh install of
> Booki which will use the install script.  I'll update my instructions
> at that time.
>
> My big complaint was needing to use django-shell for the migration.
> Even if I had gotten it working, having to essentially write a Python
> program on the command line to update a database is not for the timid.
>   It looks like I didn't really need to do it, though.
>
> James Simmons
>
>
> On Thu, Jun 16, 2011 at 6:58 AM, adam<adam at flossmanuals.net>  wrote:
>> i think one thing we need to do is supply clear information on how to set up
>> the environment variables. I believe that those that are used to setting up
>> software but are not used to django will get caught out on this as has been
>> demonstrated by the quesitons both you (James) and I have.
>>
>> James - I was wondering if you would help us and write a short description
>> on how to do this? I can also help and we can ask Aco, Tuukkaa and Luka to
>> check it...
>>
>> adam
>>
>>
>>
>> On 06/16/2011 01:50 PM, Aleksandar Erkalovic wrote:
>>>
>>> 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
>>>
>>>
>>
>> --
>>
>> --
>> Adam Hyde
>> Founder, FLOSS Manuals
>> Project Manager, Booki
>> Book Sprint Facilitator
>> mobile :+ 49 177 4935122
>> identi.ca : @eset
>>
>> _______________________________________________
>> Booki-dev mailing list
>> Booki-dev at lists.flossmanuals.net
>> http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net
>>
> _______________________________________________
> Booki-dev mailing list
> Booki-dev at lists.flossmanuals.net
> http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net

-- 

--
Adam Hyde
Founder, FLOSS Manuals
Project Manager, Booki
Book Sprint Facilitator
mobile :+ 49 177 4935122
identi.ca : @eset




More information about the Booki-dev mailing list