Difference between revisions of "Installing LXW"

From ISoft Wiki
Jump to: navigation, search
(Adding dependencies)
(Dependencies: We actually can work with SVN 1.6 or better)
Line 6: Line 6:
 
* [http://php.net/downloads.php PHP] 5.3 or higher
 
* [http://php.net/downloads.php PHP] 5.3 or higher
 
* [http://nodejs.org/download/ Node.js] 0.8 or higher
 
* [http://nodejs.org/download/ Node.js] 0.8 or higher
* [http://subversion.apache.org/ SVN] 1.7 or higher
+
* [http://subversion.apache.org/ SVN] 1.6 or higher
  
 
== Installing the server-side code ==
 
== Installing the server-side code ==

Revision as of 11:26, 25 September 2012

The new version of ITrack LX, colloquially known as LXW, is the faster and sexier version of ITrack designed to run in the browser, primarily on handheld scanner devices.

Dependencies

Besides the regular version of MySQL used by ITrack Enterprise, LXW requires:

Installing the server-side code

This is the PHP code that talks to the database! It should be checked out somewhere that is not accessible via HTTP.

The directory to check out is http://svn.isoftdata.com/svn/Web/tinymvc-branches/lxw-release.

To configure the database connection, edit /lxw/configs/database.php.

Installing the client-side code

This is the code that is accessible via HTTP! Check it out to your Apache htdocs folder, or whatever other folder will get it served up to the tubes.

The directory to check out is http://svn.isoftdata.com/svn/Web/tinymvc-branches/lxw-release/lxw/client.

To configure the connection to the server-side code: edit line 15 of server/index.php to point it at the path where you checked out the server-side code.

To configure client application settings (which should all have reasonable defaults), you can edit the config.js file in the client path.

Testing

Browsing to the [the URL you would expect to correspond to the client-side files you installed]/server/index.php should show you a snide remark embedded in JSON.

Browsing to the regular URL should show you a screen asking you to identify your store number (assuming that your web server is configured to serve up index.html files when you browse to a directory).