[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Development environment question



>>> suppressed 10/26/05 08:53AM >>>
>
>>>> suppressed 10/24/05 02:41PM >>>
>>First off, let me say I know nothing about Interchange.
>>
>>But I am re-designing a site that is currently using Interchange. I would
>>like create a dev environment so that the new page styles, product modules,
>>etc.. can be built out, and then merged back in with the sites existing
>>customer order and product catalog db.
>>
>>I am working with someone who is experienced in this, and actually set up
>>the original site, but I am trying to dig up info as he doesn't have the
>>time now.
>>
>>Any suggestions on the best way to build a new site while continuing to use
>>the old, then launch everything into production?
>
>the way i tend to do it works a little something like this....
>
># Set these as appropriate
>CATDIR=/var/www/whateversite.com/catalog
>NEWDIR=/var/www/whateversite.com/catalog2
>CGIURL=/cgi-bin/whateversite
>NEWURL=/cgi-bin/whateversite2
>CATNAME=whateversite
>NEWNAME=whateversite2
>ICDIR=/usr/local/interchange
>
>cp -Rp $CATDIR $NEWPLACE
>sed -i -e "s:$CGIURL:$NEWURL:g" $NEWPLACE/products/variable.txt
>sed -i -e "^Catalog/{i\
>Catalog       $NEWNAME $NEWPLACE $NEWURL
>: finish ; n ; b finish }" $ICDIR/interchange.cfg
>/usr/local/interchange/bin/restart
>
>Please note that i just wrote this, and it is probably buggy as
>i haven't bothered to script it until now.  =)  I've only needed
>to do it once or >twice.

BTW, in that stuff, s/NEWPLACE/NEWDIR/g.  I changed the variable to
make things more consistent, but forgot to change it in the code.

--
Daniel Davenport
New Age Digital
www.newagedigital.com 



_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.