|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| SPECS/ | H | 25-Mar-2010 | - | 750 | 555 |
| code/ | H | 25-Mar-2010 | - | 20,968 | 18,421 |
| debian/ | H | 25-Mar-2010 | - | 9,014 | 7,172 |
| dist/ | H | 03-May-2022 | - | 99,786 | 83,576 |
| eg/ | H | 03-May-2022 | - | 3,440 | 2,640 |
| extensions/ | H | 25-Mar-2010 | - | 2,026 | 1,690 |
| lib/Vend/ | H | 25-Mar-2010 | - | 74,873 | 54,848 |
| scripts/ | H | 25-Mar-2010 | - | 7,126 | 4,327 |
| share/interchange-5/ | H | 25-Mar-2010 | - | 531 | 449 |
| LICENSE | H A D | 14-Aug-2009 | 17.6 KiB | 340 | 281 |
| MANIFEST | H A D | 25-Mar-2010 | 42.1 KiB | 1,266 | 1,265 |
| MANIFEST.SKIP | H A D | 14-Aug-2009 | 958 | 73 | 72 |
| META.yml | H A D | 25-Mar-2010 | 473 | 21 | 20 |
| Makefile.PL | H A D | 25-Mar-2010 | 19 KiB | 854 | 706 |
| README | H A D | 25-Mar-2010 | 5.9 KiB | 168 | 109 |
| README-DEVELOPMENT | H A D | 25-Mar-2010 | 3.2 KiB | 109 | 71 |
| README.debian | H A D | 25-Mar-2010 | 2.1 KiB | 70 | 48 |
| README.rpm-dist | H A D | 25-Mar-2010 | 5.4 KiB | 158 | 98 |
| UPGRADE | H A D | 25-Mar-2010 | 23.5 KiB | 653 | 462 |
| WHATSNEW-4.5 | H A D | 14-Aug-2009 | 13.6 KiB | 409 | 277 |
| WHATSNEW-4.7 | H A D | 25-Mar-2010 | 66.4 KiB | 1,907 | 1,278 |
| WHATSNEW-4.9 | H A D | 14-Aug-2009 | 115.9 KiB | 3,715 | 2,488 |
| WHATSNEW-5.1 | H A D | 14-Aug-2009 | 13.9 KiB | 442 | 296 |
| WHATSNEW-5.3 | H A D | 25-Mar-2010 | 10.9 KiB | 355 | 229 |
| WHATSNEW-5.5 | H A D | 25-Mar-2010 | 28.6 KiB | 808 | 542 |
| WHATSNEW-5.6 | H A D | 25-Mar-2010 | 8 KiB | 265 | 161 |
| configure | H A D | 25-Mar-2010 | 666 | 28 | 16 |
| hints.pl | H A D | 14-Aug-2009 | 1.3 KiB | 65 | 55 |
| install_lsb.pl | H A D | 14-Aug-2009 | 5.6 KiB | 281 | 236 |
| relocate.pl | H A D | 14-Aug-2009 | 1.2 KiB | 58 | 28 |
| test.pl | H A D | 25-Mar-2010 | 6.3 KiB | 333 | 244 |
README
1-----------------------------------------------------------------------------
2
3 I N T E R C H A N G E
4
5Interchange 5.6.3
6
7Copyright (C) 2002-2010 Interchange Development Group
8Copyright (C) 1996-2002 Red Hat, Inc.
9
10Originally based on Vend 0.2 and 0.3, copyright 1995-96 by Andrew M. Wilcox.
11
12This program is offered without warranty of any kind.
13See file LICENSE for redistribution terms.
14
15-----------------------------------------------------------------------------
16
17Interchange is a web application server, electronic catalog and database
18display system. Features include:
19
20 * online ordering
21 * real-time credit card processing hooks
22 * high-end database access and retrieval with SQL support
23 * product categorizing, merchandising, and discounting
24 * basic customer relationship management
25 * dynamic content presentation
26 * content management
27 * internationalization and localization support
28 * real-time tax and shipping hooks
29 * reporting
30 * possibility of web-based administration
31
32Interchange absolutely REQUIRES Perl 5.8.0 or later, on a Unix-like operating
33system.
34
35Interchange also requires some non-standard Perl modules to be installed on
36your system. Unless you are installing from distribution-specific packages
37(Red Hat, Debian, ...), the quick way to install the necessary support is to
38run:
39
40 perl -MCPAN -e 'install Bundle::Interchange'
41
42If you would like to use a specific version of Perl, simply invoke
43Perl with an absolute path to the Perl binary, such as
44
45 /usr/local/bin/perl -MCPAN -e 'install Bundle::Interchange'
46
47-----------------------------------------------------------------------------
48
49More information is in the following files and directories:
50
51LICENSE The text of the GNU General Public License (GPL), under which
52 the Interchange software is distributed.
53
54README.rpm-dist Notes on using Interchange when installed from RPM packages.
55
56README.debian Notes on using Interchange when installed from Debian packages.
57
58README.cvs How to access the CVS repository to track ongoing development.
59
60WHATSNEW-* Changes per specified version family.
61
62UPGRADE Instructions on how to upgrade from an earlier Interchange
63 version.
64
65-----------------------------------------------------------------------------
66
67Major files and directories in the distribution:
68
69Makefile.PL Script to create a Makefile, used for installation.
70 (run ./configure for usage instructions)
71
72dist/ The distribution files, exclusive of executable
73 files and modules. Includes:
74
75 interchange.cfg.dist Distribution-default interchange.cfg
76 standard/ Demo catalog skeleton, used by makecat
77 src/ C and Perl code for CGI link programs
78 lib/ Back-end administrative interface
79 code/ Usertags and other customizable code
80
81hints.pl OS-specific configuration settings. None currently used.
82
83eg/ Various helper scripts and addons.
84
85lib/ The library modules needed to run Interchange.
86
87scripts/ The executable files, relocated to bin/ in the install
88 directory.
89
90relocate.pl Script that adjusts paths in scripts/ for installation into
91 bin/.
92
93test.pl The installation test script.
94
95-----------------------------------------------------------------------------
96
97 I N S T A L L A T I O N
98
99You can install Interchange as root for a multi-user system-wide setup, or
100as an unprivileged user who will be the only one modifying Interchange files.
101
102Here is the quick installation summary:
103
104 tar xvzf interchange-5.6.3.tar.gz
105 cd interchange-5.6.3
106 perl Makefile.PL
107 make
108 make test
109 make install
110
111If you would like to use a specific version of Perl, simply invoke
112perl with an absolute path to the Perl binary, such as
113
114 /usr/local/bin/perl Makefile.PL
115
116The build procedure asks where you'd like to install Interchange and
117the name of the user account that will own the installation.
118
119The Interchange server doesn't do much if it isn't servicing one or more
120actual catalogs, so you next need to make your first Interchange catalog,
121as described in the next section.
122
123-----------------------------------------------------------------------------
124
125 D E M O
126
127There is a demo catalog skeleton (called 'standard') included.
128
129To build your own catalog from the demo, go to the directory where you
130installed Interchange (default is "interchange" in your home directory,
131/usr/local/interchange for root installations, or /usr/lib/interchange
132for RPM installations) and run:
133
134 bin/makecat
135
136Follow the prompts and after restarting the Interchange server you
137should be able to access the new instance of the demo catalog.
138
139Please note that some functionality (notably the reporting features)
140may not be available if you are not using an SQL database such as
141MySQL or PostgreSQL.
142
143Visit http://demo.icdevgroup.org/ to try out a live demo.
144
145-----------------------------------------------------------------------------
146
147 D O C U M E N T A T I O N
148
149A documentation package is available, with documentation in many different
150formats. This and other information is available at the Interchange home on
151the web:
152
153http://www.icdevgroup.org/
154http://www.icdevgroup.org/xmldocs/
155
156-----------------------------------------------------------------------------
157
158 C O M P A T I B I L I T Y
159
160Interchange is regularly tested on various Linux distributions and FreeBSD.
161It has also been used on Mac OS X, Solaris, OpenBSD, Digital UNIX/Tru64, SCO,
162AIX, and other Unix variants. It should work on any Unix with sufficiently
163high Perl version number and the necessary Perl modules.
164
165-----------------------------------------------------------------------------
166
167(end)
168
README-DEVELOPMENT
1------------------------------------------------------------------------------
2
3 Tracking Interchange development in Git
4
5------------------------------------------------------------------------------
6
7If you don't want to wait for an official release, you can use Git to follow
8the latest Interchange development.
9
10WARNING: There may be bugs introduced at any time! Thoroughly test any changes
11before incorporating. Better yet, don't use Git changes for anything but
12fixing relevant bugs, and run the latest stable release.
13
14
15Browse Git tree online
16----------------------
17
18To browse the Interchange Git repository online, visit:
19
20http://git.icdevgroup.org/interchange/
21
22
23Clone a local copy
24------------------
25
26See instructions on cloning and working with a local Git working copy at:
27
28http://www.icdevgroup.org/i/dev/download
29
30
31Make a distribution tar file
32----------------------------
33
34It's best to build a distribution tar file to install from, rather than
35installing straight from your Git working copy. To do so:
36
37 $ cd interchange
38 $ perl Makefile.PL nocopy
39 Writing Makefile for Interchange
40 $ make tardist
41 # much output ...
42 $ ls interch*.tar.gz
43 interchange-5.7.1.tar.gz
44
45
46Unpack and install
47------------------
48
49Unpack the tar file and install as normal. See the README file and other
50documentation for help. You should already be familiar with the Interchange
51developer website at:
52
53 http://www.icdevgroup.org/
54
55Make sure you don't put your Git working copy at $HOME/interchange
56and then install on top of it, since $HOME/interchange is the default
57install directory.
58
59
60Updating
61--------
62
63Follow development discussions by joining the interchange-announce and
64interchange-users mailing lists.
65
66Keep track of ongoing code changes by joining the interchange-cvs mailing
67list, or watching the interchange/interchange repository in GitHub.
68
69In many cases, the major differences in the distribution will be easily
70updateable. You can copy any changed files directly to these library
71directories:
72
73 lib/Vend (and all subdirectories)
74 lib/UI (and all subdirectories)
75
76You should check the files:
77
78 catalog_after.cfg (infrequently updated)
79 catalog_before.cfg (frequently updated)
80 interchange.cfg.dist (infrequently updated)
81 usertag/* (infrequently updated)
82
83Finally, you should check differences in the bin/* files. While they
84are not as frequently updated as the lib/* files, they do change. Run
85diffs against the source files in scripts/*.PL, or do another install
86to a blank directory and do a diff to that.
87
88
89Keeping the catalog in sync
90---------------------------
91
92If you are patterning your order methods after one of the template
93catalogs, you will want to check the products/*.txt and products/*.asc
94files for changes. In particular, mv_metadata.asc is used to format
95and present quite a few things in the user interface. You may have
96to merge the databases, but there is an automated admin UI facility
97that can help you do this.
98
99
100Troubleshooting
101---------------
102
103If you get a complaint that a "file is not found" when trying to do a
104'make tardist' or 'make dist', that means your MANIFEST file is out of
105sync with the current codebase. Just do:
106
107 rm MANIFEST
108 make manifest
109
README.debian
1Interchange Debian Packages
2===========================
3
4This document contains information about the Interchange Debian packages.
5
6Feedback
7--------
8
9Please send your comments and bug reports to Stefan Hornburg (Racke)
10<racke@linuxia.de>. He is the Interchange core developer responsible
11for the Interchange Debian packages.
12
13APT Sources
14===========
15
16Interchange Debian packages for unstable (sid) are part of the official
17Debian distribution. There are no official packages for stable (etch),
18oldstable (sarge) or testing (lenny).
19
20Up-to-date Interchange Debian packages for stable are available from:
21
22deb http://ftp.icdevgroup.org/interchange/debian interchange main
23deb-src http://ftp.icdevgroup.org/interchange/debian interchange main
24
25Debian Specific Changes
26=======================
27
28* all catalog configuration should we put into catalogs.cfg, so that
29 /etc/interchange/interchange.cfg can upgraded easily
30
31* any global usertags used locally should go into /etc/interchange/usertag
32 and they'll be included if they have the extension .tag
33
34Standard Demo
35===============
36
37For the administration of the standard demo (interchange-cat-standard
38package) a secure webserver (https://) is required.
39
40SOAP
41====
42
43The Interchange SOAP server is disabled by default. Run the following
44commands to activate the SOAP server:
45
46apt-get install libsoap-lite-perl
47interchangeconfig SOAP=1
48/etc/init.d/interchange restart
49
50Other Notes
51===========
52
53* if you want to call interchange directly for catalog addition, removal,
54 reconfiguration or other command line tasks, you need to use the wrapper
55 script /usr/sbin/interchange either as root or as interchange user, e.g.
56 /usr/sbin/interchange --reconfig=standard.
57
58* if the selected Interchange user (default: interchange, may be changed
59 through debconf) doesn't exists at installation time, it will created.
60 Due to security reasons the shell for this user will be set to
61 /bin/false and the password for this user will be disabled. Use
62 su -s /bin/sh if you need to become the Interchange user.
63
64CVS
65===
66
67You can build Debian packages directly from CVS with the following commmand:
68
69dpkg-buildpackage -rfakeroot -uc -us
70
README.rpm-dist
1-----------------------------------------------------------------------------
2
3 Interchange RPM packages for Red Hat Linux and compatible operating systems
4
5-----------------------------------------------------------------------------
6
7The Interchange RPM packages integrate Interchange with a Red Hat Linux
8or compatible operating system. Files are installed in the usual Linux
9Standard Base locations:
10
11Interchange base: /usr/lib/interchange.
12
13Executables: /usr/lib/interchange/bin.
14
15Configuration: The global Interchange configuration file is
16/etc/interchange.cfg. It is only writable by root.
17
18Data: Catalog directories are located by default in /var/lib/interchange.
19
20Invocation: Invocation is the normal /etc/rc.d/init.d startup method.
21Interchange installs to be active in run levels 3, 4, and 5; to be killed
22in all.
23
24Logs: Logs go in /var/log/interchange. The subdirectory is needed to
25allow the Interchange user ID to write/create files. A configuration file
26is added to /etc/logrotate.d to do log rotation.
27
28Run: Run files go in /var/run/interchange. This includes the UNIX-domain
29socket and catalog status files. The subdirectory is needed to allow
30the Interchange user ID to write/create files.
31
32Sessions and temporary files: /var/cache/interchange.
33
34Documentation: /usr/share/doc/interchange-5.6.3.
35
36On a dedicated production server, it is wise to segregate as many of these
37directories as possible onto their own partitions, to prevent problems if
38one partition runs out of inodes or disk space, or you have a disk failure.
39
40
41DEPENDENCIES
42
43Interchange requires many Perl modules from CPAN. Many of these do not
44usually come supplied with your operating system, so you will need to
45install them yourself. It's best to locate RPMs for each of the needed
46Perl modules and install them. To get a complete list of dependencies, do:
47
48rpm -qp --requires interchange-5.6.3-1.*.rpm
49
50Unfortunately, there's not currently a reliable, steady source of the latest
51CPAN modules in RPM format for most operating systems. Thus the easiest way
52to install them is to use CPAN to build the modules from source. First set
53up CPAN and install its auxiliary modules:
54
55perl -MCPAN -e'install Bundle::CPAN'
56
57Then install the main modules Interchange uses:
58
59perl -MCPAN -e'install Bundle::Interchange'
60
61Instead you may want to install a bundle that includes many optional but
62useful modules:
63
64perl -MCPAN -e'install Bundle::InterchangeKitchenSink'
65
66
67INSTALL
68
69rpm -Uvh interchange-5.6.3-1.*.rpm
70rpm -Uvh interchange-standard-5.6.3-1.*.rpm
71
72If you have installed CPAN modules from source, rather than RPM, you'll need
73to install the main interchange package without dependency checking because
74RPM doesn't know about those modules you installed:
75
76rpm -Uvh --nodeps interchange-5.6.3-1.*.rpm
77
78
79STARTING/RESTARTING INTERCHANGE
80
81Interchange, as installed from the RPM, needs a special invocation from
82/usr/sbin/interchange. This is because the locations of configuration,
83run, and log files differ from the places Interchange has traditionally
84expected them.
85
86As either the 'interch' user or the root user you should start or restart
87interchange with this command:
88
89/usr/sbin/interchange -r
90
91NOTE: Contrary to other documentation, you SHOULD NOT use 'bin/restart'
92or directly call 'bin/interchange' to start or restart Interchange when
93you use the RPM installation.
94
95
96-----------------------------------------------------------------------------
97
98 Live Demo Catalog in RPM Format
99
100-----------------------------------------------------------------------------
101
102There is a separate RPM that provides a live demonstration catalog called
103'standard', which you may optionally use to quickly try out Interchange.
104It should not be used as a basis for a real catalog; instead build
105your own with the makecat tool in '/usr/lib/interchange/bin/makecat',
106as described in the documentation. Do not confuse the 'standard' live demo
107with the 'standard' catalog skeleton from which you are encouraged to build
108your own catalog.
109
110
111APACHE ASSUMPTIONS
112
113The standard-demo RPM relies upon the following things in the Apache
114installation:
115
116-- Standard document root and CGI binary locations:
117
118 DocumentRoot /var/www/html
119 ScriptAlias /cgi-bin/ /var/www/cgi-bin/
120
121-- ServerName must be the same as what is revealed by `hostname` when
122 the standard RPM is installed. If it is not, temporarily change the
123 hostname with a command like 'hostname new.host.name' and then install
124 the standard-demo RPM. Afterwards you can change the hostname back
125 to normal.
126
127-- suEXEC not enabled. If you have suEXEC enabled, you are responsible
128 for changing permissions and running parameters appropriately. You
129 can typically disable suEXEC by running `chmod u-s /usr/bin/suexec'.
130 If you want to continue to use suEXEC, you will have to compile the
131 appropriate INET mode link program and use it instead of vlink.
132
133
134INSTALL
135
136rpm -Uvh interchange-standard-demo-5.6.3-1.*.rpm
137
138
139USING THE DEMO
140
141Once installed, you should be able to access the demo catalog like this
142(using your own hostname, of course):
143
144http://hostname/standard/
145
146The initial administrative user name is "interch", and the password is
147"pass". Change the password as soon as possible.
148
149
150-----------------------------------------------------------------------------
151
152 More information
153
154-----------------------------------------------------------------------------
155
156http://www.icdevgroup.org/ has complete documentation, user mailing
157list information, and other resources.
158