[ Previous ][ Contents ][ Chapter TOC ][ Index ][ Next ]
Chapter 2: Installing and Using NetStores

Creating directories and files for a store

--> To set up a NetStores storefront:

  1. Log into your server with the user account that runs the server. (The user account that runs the server must be able to write to some storefront files and directories.)
  2. Move to the server_root/dwos/data directory.
  3. Copy the sample directory for the interface you plan to use to a new directory. Use one of the following commands where newdir is the abbreviation you selected for this store.
  4. If you aren't logged in using the account that runs the Web server, change the owner and group so that account can read and write to these files. For example:
        chown nobody newdir
        chgrp nobody newdir
  5. Move to the new directory. For example, type:
        cd newdir
  6. Type the following commands to start with fresh customer, order, quote, and transaction files for this store:
        > cusfil; > nxtcus; > nxtord; > nxtqte 
        > nxttrx; > ordopn; > ordqte 
  7. Create a directory for the store abbreviation in the $DOCUMENT_ROOT directory. For example, if the page root directory is /usr/local/etc/httpd/htdocs and the abbreviation for your store is "abc", use these commands:
        cd /usr/local/etc/httpd/htdocs 
        mkdir abc
  8. Create the following symbolic links in the directory you just created. (In these examples, the server root directory is /usr/local/etc/httpd and the store abbreviation is "abc". Use your own server root and store abbreviation instead.)

    Note: DO NOT create a symbolic link to the storefront directory itself (for example, /usr/local/etc/httpd/dwos/data/abc)! If you do, all your order and account files can be viewed by anyone on the Internet.

NetStores Administrator's Guide
1: About NetStores
2: Installing and Using NetStores
3: Troubleshooting
4: Technical Reference

[ Previous ][ Contents ][ Chapter TOC ][ Index/Search ][ Next ]
Copyright © 1996 NetStores