Installing LXW

From ISoft Wiki
Revision as of 15:33, 8 August 2012 by Duff (talk | contribs) (Initial instructions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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.

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).