ABOUT US PRODUCTS GET INVOLVED BLOG

Ushahidi Mailing Lists

« All Listsdevelopers@list.ushahidi.com

Message: previous - next
Month: March 2010

Re: [ushahidi developers] Simple install script (was: test)

From: Max Froumentin <max@...>
Date: Mon, 8 Mar 2010 09:33:54 +0100
Hi Chris,

It's not so much git than db versions (and laziness and ignorance). I
always seem to get an old version that doesn't update correctly. But
sometimes not, usually the error message is too obscure for me to tell
straight away. Since I'm mostly interested in front-end stuff, I
prefer starting from a blank slate over fixing things.

So if I could suggest one thing, it would be to make it clearer in
error messages when the db version is not in accordance with the code
used.

And while I'm at it, can I ask about our project of hosting instances
ourselves? Since I've started using that script for creating multiple
instances on my server, I was wondering what we were at on that front.

Cheers,
Max.



On 8 March 2010 00:01, Chris Blow <unthinkingly@...> wrote:
> Thanks max,
>
> What are the problems?
>
> Perhaps there a issue with your git environment somehow?
>
> Seems it would be better to resolve the underlying issues.
> Best,
> c
>
> - via phone
>
> On Mar 7, 2010, at 11:14, Max Froumentin <max@...> wrote:
>
>> Ah good, thanks. I just wanted to send this shell script I just wrote.
>> Almost every time I merge, there's some error I'm not able to fix, so
>> I end up reinstalling everything. This script does all that for me. It
>> deletes the local repo and database, fetches the head from git, writes
>> config files, create a new database, and fill the settings table.
>>
>> It's far from complete, but works for me, and I can create multiple
>> instances simply. It might be useful for others, so I'm sending it
>> here. Just set the variables at the top, run, and don't blame me if
>> something goes wrong :)
>>
>> Max.
>> <getUshahidi.sh>