• Welcome to KonaKart Community Forum. Please login or sign up.
 

How to use Multi-platform zip package?

Started by kaprasanna, June 30, 2009, 12:37:36 pm

Previous topic - Next topic

kaprasanna

Hi,

I have windows xp installed on my machine.
I downloaded Multi-platform zip package (mpzp) from http://www.konakart.com/downloads/community_edition
I unzipped it. What next?
I mean there is no README or similar file that explains in stepwise instructions as to what should be expected and how to proceed in order to achieve that.

I just zipped through konakart_user_guide. Chapter 5 'Installation', has screen-shots and some info about 'Graphical Installation Wizard'. But for that I need to have an exe. Which is not present in the unzipped directory. If I am supposed to build the whole application (and as a result an exe would be generated ) then which build.xml I should use (There are many in there.) and which target there in?
I also setup mysql. I can run all the sql scripts present in konakart/database/MySQL/ one by one. But in which order they should be run has to be documented somewhere right...?
Since this is after all a webapp, I imagine there would be a war file which needs to be deployed to a server. Now I have my working tomcat somewhere on the disk. But I understand that the unzipped konakart directory itself contains a tomcat. If I am supposed to use this one, what changes are expected by the web.xml?
The README.txt talks about downloading and installing java, tomcat. But what do I do to see konakart in action?

I can always download KonaKart-3.2.0.0-Windows-Setup.exe and get going on windows. But we do have linux here for which I downloaded mpzp.

Expecting early reply.

Thanks.

julie


kaprasanna

And how do I create the database? I mean is there an ant target that does this in one go?
Or if I am supposed to run the sql scripts, which one should I run?
Thanks.

greg

Use the Linux installer.  Also, read the User Guide - all these answers are clearly explained.

kaprasanna

Greg,

Thanks for the reply.
And apologies if the repeated questions seem annoying but I am still stuck and there is no other place I can go to in order to get going.
I want the installation to work on windows first and I have been striving for the same.
I downloaded the setup.exe and I ran it. And now I see the wizard page that says 'Specify the database connection parameters'.
So I need to have a database in place. Now the question that came to my mind is how do I create one?
I first made sure the MySql installation is fine and is active. Then I opened the pdf file user-guide and browsed through it quickly. I stopped at page number 12 chapter 5. Installation. Then I reached the heading 'Create a Database'. What I read is this (excerpts):

......KonaKart needs a JDBC-compliant database.....
...MySQL makes a popular choice. You can obtain MySQL from...Check the specific notes.... if you already have an osCommerce database you only need to run a supplementary SQL script....
...Once the database is installed, create a new database user for KonaKart then either run the installation
wizard which will (optionally) load up the database ready for using KonaKart, or if you prefer, execute the
SQL script appropriate for your chosen database manually. The database initialization scripts are provided
for all supported databases under the database directory under your KonaKart installation directory....


Then I create a new user for konakart called 'konakart' in MySql.
My question is : How do I run the installation wizard? (Reference : Last to sentences in the above excerpts.)
And which script will create the complete database? I believe the name of such a script would sound similar across all dbs.
I had to ask this because this info is lacking in the user guide.

Thanks.

greg

The information is not missing in the User Guide. You just have to read it more carefully.

kaprasanna

I think I have made an honest attempt to look up the information before posting here.
And I am sure it doesn't take too long to type in the name of a file.
Thanks.

ming


For executing the wizard installer:

On Windows it is the KonaKart-4.1.0.0-Windows-Setup.exe file... (change the version number (4.1.0.0) as required).

On *nix it is the KonaKart-4.1.0.0-Linux-Install file... (make sure you "chmod +x" on this file to make it executable)


Database script summary:

You never have to touch or run these if you run the wizard installations - which is the recommended approach.

For each db you will find SQL files as follows:

konakart_demo.sql - this is the complete db set up script for KonaKart from an empty db.  The wizards run this file when you choose the database population option inside the wizard).

konakart_supplementary_demo.sql - a script to run on an osCommerce db to prepare for using KonaKart

upgrade_{from-version}_to_{to_version}.sql - used for upgrading a KonaKart database from one version to the next.  These have to be run in sequence, one after the other.