Content

Please note, WebUIs are an experimental feature at the moment.

If you’ve purchased a Pro server, you don’t need to read this as we’ve installed WebUIs for you already. If, on the other hand, you are using Lightact Free and want to try WebUIs or if you’d like to enable them in one of Lightact Pro software licenses, read on.

There are 5 steps that we’ll describe here:

  1. Installation of a web server
  2. Setting up a Virtual Host
  3. Setting up the database
  4. Setting up a user account
  5. Setting up Lightact

Installation of WAMP

The first step is to install a web server. There are a couple of solutions freely available on the market such as XAMPP or WAMP. In this guide, we’ll explain the installation of WAMP, however, the process is similar for XAMPP as well.

Head to WAMP download page and download the installation package. Proceed with the installation and follow the instructions. You’ll know that you’ve successfully installed WAMP when, after typing in localhost in your browser address bar, you’ll see this page:

wampLocalHost

That’s it. Next, we need to Add a Virtual Host.

Add a Virtual Host

In this chapter, we’ll add a virtual host, which will make sure that whenever you type in /laweb/ into a browser’s address bar, you’ll see Lightact WebUI page.

The first step in creating a Virtual Host is to copy all the WebUI files you downloaded to a folder on your machine. Something like C:/webuis/ or C:/laweb/ is appropriate, but feel free to choose any location you want. In the end, your folder should look like this:

webUI

Now it’s time to set up your server’s virtual host so that it will point to this folder.

Open your browser and type in /localhost/

wamp addVirtualHost

Click on Add a Virtual Host button.

virtual host properties

In the page that appears there are 3 textboxes and a button.

  • As the name, type in laweb (this is usually the first textbox)
  • in the absolute path, type in the path of the folder you created before (and into which you copied all of webUI files).
  • don’t type anything in the textbox where it asks you for an IP

Click on Start the creation of the VirtualHost button.

When the page says the virtual host has been successfully created, you should restart all Wamp services.

restartingWamp

You do that by left-clicking on the green Wamp icon and then clicking on Restart All Services.

After you’ve done that, wait for Wamp icon to turn green again.

Onwards to setting up the database!

Setting up the Database

In this chapter, we’ll create lightact database and import the data into it using a database backup SQL file that was included in WebUI package you downloaded from Lightact website.

openPhpMyAdmin

Go to http://localhost page again and click on phpmyadmin.

In the login page that opens up, type in root and leave the password field empty.

If the above default credentials don’t work, refer to Wamp or Xampp documentation on their default login credentials. It is also advisable to change these credentials at the end of this process.

importButton

Click on the Import button.

chooseFile

Then click on Choose File.

Select the lightactWebUIBackup.sql file that you can find in the databaseBackup folder inside the WebUI archive you downloaded from Lightact website.

goButton

Click on Go button.

lightactDatabase

After it completes successfully, you should see a new lightact database on the left side.

Setting up Lightact user account

The last thing we need to do is to set up the User Account WebUIs and Lightact are both using to log into the database.

userAccountsTab

We do that by clicking on User accounts tab.

addUserAccount

Then we click on Add user account.

newUserAccount

The data you should type in is:

  • User name: Lightact
  • Password: YouaresoLA

checkAllGlobalPrileges

Check the Check all checkbox in the Global privileges section.

goButton

Then click on Go button.

2017 10 26 13 06 50 WebUI Login

Now, if you go to http://laweb page again, you should see the Main page of Lightact WebUIs. You should be able to login using the user name Lightact and password YouaresoLA.

Setting up Lightact

There is one more step we have to do before the connection between WebUIs and Lightact will start working. We have to tell Lightact about the login information (database, hostname etc.)

You can set this up in Lightact in the Preferences window that you can open by clicking on File and then Preferences.

Open WebUI tab and in the text boxes enter:

  • Hostname: laweb
  • Username: Lightact
  • Password: YouaresoLA
  • Database: lightact

webui preferences window success

You can click on Test connection button and if everything went fine, you’ll see a green Success label.

Of course, if you are using different database data or created a different user, you have to type in matching information.

When you are done click on Save button.

print

Login to leave your feedback!

Comments are closed.