Install TomatoCMS with WAMP

From TomatoCMS Documentation

Jump to: navigation, search

I assume that you installed latest WAMP on your computer.

Contents

Step 1: Create database

First of all, we will use phpMyAdmin to create database for TomatoCMS.
We will create a database named tomato_cms and grant all privileges on this database for an user named tomato
If you know how to do this with phpMyAdmin, you can ignore this step.

  • Click on WAMP icon on your task bar, then click on phpMyAdmin:

File:wamp_open_phpmyadmin.jpg

  • In phpMyAdmin page, look at Create new database section.

Enter tomato_cms as the database name, select utf8_general_ci from the list of available charsets and select utf8_general_ci for MySQL connection collation (Note that this charset might be different based on your system and your character sets).
Finally, press Create button.

File:wamp_create_database.jpg

  • After creating database, select tomato_cms database from the list of databases on the left side, then click on Privileges on the right side.

Click on the Add a new user link.

File:wamp_phpmyadmin_add_user.jpg

  • At the creating user page, enter the information for new user. Below is the example:
    • tomato for username filed,
    • localhost for host field,

Then check the Grant all privileges on database "tomato_cms" check box.
Press the Go button at the bottom of page.

File:wamp_phpmyadmin_grant_privileges.jpg

Step 2: Download TomatoCMS

Download TomatoCMS from its official website.

Uncompress the downloaded file into your wamp/www directory:

File:wamp_tomatocms_directory.jpg

Now, entire TomtoCMS has just been put inside wamp/www/tomatocms directory.
We can access TomatoCMS from the address: http://localhost/tomatocms/index.php
At this time, you may receive the Internal Server error. Don't worry, the reason is your Apache web server hasn't activate mod_rewrite module.
Perform the step 3 to resolve this.

Step 3: Active mod_rewrite module for Apache

Click on WAMP icon in the task bar and select Apache > Apache modules and ensure that rewrite_module will be checked:

File:wamp_rewrite_module.jpg

After that, restart Apache server by select Apache > Service > Restart Service menu:

File:wamp_restart_apache.jpg

Step 4: Install TomatoCMS using Install Wizard

Now, point our browser to TomatoCMS website: http://localhost/tomatocms/index.php
TomatoCMS detects that it wasn't installed and redirects you to another page for installing.

  • At the first step, select your language and click on the Next button.

(You can upload other language package (in *.zip format) and select it)

File:wamp_tomatocms_step1.jpg

  • Next step, click on the Next button if your environment satisfy all requirements:

File:wamp_tomatocms_step2.jpg

  • In next step, fill the website information in the configuration form.

Note that you put the correct database information created in Step 1.
You can select the Import sample data check box to use the sample data after installing.

File:wamp_tomatocms_step3.jpg

Click on the Next button to go to next step.

  • Well, it's final step. The Install Wizard completes. Please write down your admin password in somewhere else.

To complete installing process, you have to press one of two buttons.
In this case, I recommend you to press the Go to administrator button.

File:wamp_tomatocms_step4.jpg

Step 5: Change your password

After pressing the Go to administrator button in the last step of Install Wizard, TomatoCMS redirects you to login page.
Use admin as the username, and the password in the last step of Install Wizard to log in:

File:wamp_tomatocms_login.jpg

In the back-end, click on Account > Change password:

File:wamp_tomatocms_changepass.jpg

Enter the new password and click on the Save button.

Step 6: Download multimedia files (if you use sample data)

From the back-end, you can click on the Visit website from the header.
In case you used sample data, maybe you won't see any images:

File:wamp_tomatocms_no_images.jpg

Don't worry, just download the multimedia files, unzip to wamp/www/tomatocms/upload directory:

File:wamp_tomatocms_upload_data.jpg

Finally, refresh our website:

File:wamp_tomatocms.jpg

Personal tools