infoCopter.com
retoh's Online Repository for myself and other Web Geeks

home | newsletter | site map

Free Stuff

: links

: Neue Surf Tips

: know-how

: Zitate

: Spam Strike

: HTML Checker!

: Link Checker

: Cartoons



About IC

: friends

: lust und frust

: guestbook

: what's new

City Shop How To
See also
p-friendly
Home :: Know-how :: City Shop How To


Installation

[cpan> install Time::HiRes]

cd /var/www/cgi-bin
tar -xf store.tar 
chown -R apache store

cd in your document root on your server

ln -s /var/www/cgi-bin/store/images

vi /var/www/cgi-bin/store/shops/city/ShopSetup.pm 
-SHOW_DEBUG_INFO => 0

http://dhcppc1/cgi-bin/store/setupstore.cgi

Enter the store:
http://dhcppc1/cgi-bin/store/store.cgi?&shop=city

Enter as Administrator:
http://dhcppc1/cgi-bin/store/manager.cgi?&shop=auctionline

How to change the pasword?
 >> Enter as Administrator:
 http://dhcppc1/cgi-bin/store/manager.cgi?&shop=auctionline
 Data Manager -> Manager Users -> Browse


How to create a new store:

 cd /cgi-bin/store/shops
 mkdir auctionline
 cp -r city/* auctionline/
 chown -R apache auctionline

 cd auctionline
 find -name "*.pm" -print | xargs perl -pi -e "s/city/auctionline/;"

vi /var/www/cgi-bin/store/Library/This.pm

  -SHOPS => {
  # vvv  copy this section 
    'city' => {
    	...
    },
  # ^^^ copy this section

Enter your store:
http://dhcppc1/cgi-bin/store/store.cgi?&shop=auctionline
http://dhcppc1/cgi-bin/store/store.cgi?&shop=auctionline&L=ger

**************************
More Stuff
**************************
Einstellungen, wie z.B. Sprachen und Währungen:

vi /var/www/cgi-bin/store/shops/auctionline/ShopSetup.pm

Weitere Anpassungen:
cd /var/www/cgi-bin/store/shops/auctionline/Views

Signatur nach erfolgter Bestellung:
OrderFormVIEW.pm

Products:
cd /var/www/cgi-bin/store/shops/city/Data_files/
	
You need to set the "-DB_IN_TRANSITION" flag in the ShopSetup.pm BEFORE you try to convert the data to the SQL database

http://dhcppc1/cgi-bin/store/setupdb.cgi

Performance Tips

/var/www/cgi-bin/store/store.cgi:

# if you are sure that your templates are formatted properly, and do have
# a header line, somewhere, comment out the next line to speed things up

@Tv = $x =~ //og and push @TempModules, @Tv;


To self:
cd /var/www/cgi-bin/store grep -r 'ZZ retoh' *
Know-How home | Must Read | What's new? | iC Site Map
link search
©1998-2004 infoCopter