Cscart Installation Local
Cscart Installation Local
CS-Cart is a model server-side software program, and you need to arrange an adequate web server environment even if you install CS-Cart on a local machine. This environment must include an HTTP server (Apache is recommended) together with PHP and MySQL. This task does not really require great technical knowledge or significant experience, but it may become annoying and unreasonable for non-techies, especially when it comes to configuring the server. That is why we suggest a simple workaround allowing you to deploy a full-functioning web server on your local machine as if you installed a regular stand-alone application. This is to use XAMPP, an easy-to-install web server package containing the Apache HTTP server, MySQL database and PHP interpreter. All you need is to download the latest distribution package for your operating system and run the standard installation procedure. Once you deploy a web server on a local computer, CS-Cart will take you only a few minutes to install. In this tutorial, you will learn how to install XAMPP on a Windows machine. If you use a different operating system, please refer to the instructions on the official website for the XAMPP project at http://www.apachefriends.org/en/xampp. html .
4. Click on Install. The wizard will start extracting XAMPP to the destination folder displaying the progress.
Once the files have been extracted, the wizard will automatically launch a console application helping you configure XAMPP on your computer.
5. Follow the instructions on the screen until you see a message that XAMPP is ready to use. 6. At the final step, enter x to quit the installer without launching XAMPP.
Running XAMPP
To launch the web server together with the required services: 1. Open the folder on your local system containing the XAMPP files.
2. Run the executable file xampp_start.exe XAMPP will start launching the necessary services. Wait until the console window disappears from the screen.
Important! If Windows Firewall is turned on, you may be asked to decide how to handle the Apache and MySQL services launched by XAMPP. Select to unblock them. 3. Now the web server is up and running on your local machine. To check this, open http://localhost/xampp/ or http://127.0.0.1/xampp/ in your web browser. You should see the following welcome screen:
Download the latest release of CS-Cart from the File Area section of your Help Desk account or from the CS-Cart website, if you are installing the trial version. Create a MySQL database for CS-Cart.
Creating a Database
To create a MySQL database for CS-Cart: 1. Run XAMPP as described in Deploying a Local Web Server. 2. In your web browser, open the phpMyAdmin database management system which is available at http:// localhost/phpmyadmin/ . 3. In the MySQL localhost section, enter the name of the new database and click the Create button.
4. Once the new MySQL database is created, it will be listed on the left of the screen among the other databases.
Installation
To install CS-Cart on a local web server: 1. Create the new folder cscart\ in the directory <xampp_install_path>\htdocs. For example, C: \xampp\htdocs\cscart. 2. Extract the distribution package with the latest CS-Cart release to the newly created directory. Make sure you retain the original file and directory structure. Note: To extract the compressed archive, use any file archive manager with support for TAR format, including WinRAR, WinZIP, etc.
10
3. Run XAMPP as described in Deploying a Local Web Server, if you have not already. 4. In your web browser, open the URL http://localhost/cscart/install . This will open the Installation Wizard that will guide you through the installation. It is important to complete every step of the Wizard until you see a screen saying that the installation is complete. Step 1: License Agreement Please thoughtfully read the CS-Cart License Agreement, and select the check box below the text of the Agreement to confirm that you agree with the conditions of the Agreement. If you do not agree with any part of the Agreement, stop the installation by closing the current page of the web browser.
Step 2: Checking Server Environment At this step, the Wizard checks that your web server meets the minimum system requirements to run CS-Cart. The default XAMPP configuration does not support the cURL PHP extension, so it has the Failed status. Yet, this makes no difference for the local installation as you will not be able to test online payment methods and real-time shipping rate estimation anyway.
11
Step 3: Host And Database Settings At this step, you need to provide the details of your web server host and MySQL server as well as specify your License number and define other parameters. The fields in this form mean as follows: Server host name - Leave the default value. Server host directory - Leave the default value. Secure server host name - Leave the default value. Secure server host directory - Leave the default value. MySQL server host - Leave the default value. MySQL database name - Enter the name of the database that you created for CS-Cart (e.g., cscart). MySQL user - Enter the username "root" (without quotation marks). MySQL password - Leave blank if you did not set up a password or enter the password if you did. Secret key to encrypt orders data - Leave blank. This field is normally expected to contain a custom sequence of alphanumerical symbols to be used as the key for the Blowfish encryption algorithm to conform to the Protect Cardholder Data part of PCI Data Security standards. Administrator e-mail - Email address of the store administrator at which you will receive email notifications.
12
License number - Your CS-Cart license number. You may leave this field blank as the local installation is suitable for test and development purposes only, which does not require a license. I want to improve CS-Cart and send configuration reports to the developer - If selected, CS-Cart will monthly send a snapshots of your store configuration sent to the development team. Such snapshots include no personal or other sensitive data, but they only reflect the current condition of the store: its settings and configuration, the modules that you use, etc. This information allows the development team to learn what CS-Cart features and options are used most intensively, and adjust the development processes accordingly. Additional languages - Select the languages that must be available in the store. Install demo data - If selected, the Wizard will import a sample product catalog and some other demo data so you can test the store. Click on Next to continue.
Step 4: Updating the Database The installation script updates the CS-Cart configuration, creates database tables and populates the database with demo data if you have selected to do so. Click on Next to continue.
Step 3.5: Choosing a Skin At this step, you need to choose a skin for the storefront by selecting the skin name from the drop-down box. A preview of the selected skin is available below the box.
13
Step 3.6: Installing the Skin Now the Wizard is installing the skin that you have selected at the previous step. Click on Next to continue.
Step 3.7: Summary This is the final step of the Wizard where the script reports of the successful installation and provides links to the storefront and the Administration panel as well as your credentials to access the Administration panel. Pay special attention to the alphanumeric code included in the message. This is the authorization code (Auth code) to run the installation script again.
14