[pLog-svn] r3274 - in plog/trunk: . class/config class/databaseconfig templates/wizard

Oscar Renalias oscar at renalias.net
Wed Apr 26 17:03:05 GMT 2006


All you have to do is:

1) install mysql, php and LT 1.1.

2) restore the 450mb dump that I linked to a couple of days ago  
(http://www.lifetype.net/test_dump_20060424.sql.bz2) This is not  
strictly necessary, but if we want to reach the target of 10.000  
blogs, you'll get a head start with 5000 blogs already in place.

3) Run generateData.php from the command line (you will need to move  
it from the tools/ folder to the root LT folder)

I was using the following command line to run the script from the  
command line, creating 100 blogs at a time. There is a pause in the  
end so that I get time to stop the process if needed, instead of  
interrupting its processing while it's working (I don't want to  
interrupt it while it's adding data) But you can do it in any way you  
like :-)

while true; do php generateData.php; echo "-- 5 sec break --";sleep  
5;done

Oscar

On 24 Apr 2006, at 17:04, Jon Daley wrote:

> 	Ok, the machine is off at the moment, but I can look at it  
> tonight.  Do I run generateData from the command line, or do I have  
> to increase the 30 second timeout for web scripts?
>
> On Mon, 24 Apr 2006, Oscar Renalias wrote:
>> The script requires a mysql database, php and a LT 1.1 installation.
>>
>> Then the idea would be to restore the current dump with 5000 blogs  
>> and
>> from there, generate up to about 10000 blogs with the script called
>> generateData.php (it's under the tools/ directory)
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list