Build and Run Shopizer 2.0.5

With the latest 2.0.5 release, Shopizer team has done a number of changes including migrating to Spring Boot ( 2.0.5 is based on Spring Boot 1.3.5 ). Please read Shopizer 2.0.5 for more details.

In this post, I will try to give you an overview of downloading Shopizer 2.0.5, build and run it on your local machine. Shopizer comes with a predefined demo DB which can be used out of the box to run demo application.

I am assuming that you have basic understanding of following terms

  1. JAVA ( we will be using JDK 1.8)
  2. Spring
  3. Maven
  4. Build
  5. Elastic Search ( 2.4.1 )

I have following configurations for this post

JAVA

java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode

Maven

Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T08:41:47-08:00)
Java version: 1.8.0_101, vendor: Oracle Corporation
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.12.3", arch: "x86_64", family: "mac"

 

I will start by cloning Shopizer from GitHub ( You can use UI client ), for this post I am using Git command line tool

clone shopizer

 

Elastic Search

Shopizer uses Elastic Search for its front end search before we build Shopizer, we need to start Elastic Search server and make sure to update configuration with the correct port number and host information. Please update

configs.properties

file under

sm-core/resources

with the correct value for Elastic Search

Once clone is completed, move to the root folder and run following command to build Shopizer

mvn:clean install

This will make sure that you have your build and packet created by Maven

build

 

Spring boot provides embedded support for Tomcat 8, which mean you don’t need standalone Tomcat to run your application.

Run the following command to start embedded Tomcat 8 for Shopizer 2.0.5

mvn spring-boot:run

application-started

When you run your application, Spring Boot will detect that you have a Spring MVC controller and start up an embedded Apache Tomcat 8 instance, by default.

You are all set to run your shop and admin panel. Go ahead and use following URL to open shop and back-end system for Shopizer

Back-end / Admin : localhost:8080/admin/logon.html

backend-login

use following details to log in to the backend

username : admin
password: password

backend

 

Web shop : http://localhost:8080/shop

shop-frontend

I hope this will help you to setup and run default OOTB Shopizer 2.0.5. Let me know in case you have any questions or comments.

In our next post, we will cover how to setup development environment for Shopizer using IntelliJ IDEA’s

 

 

 

How to setup shopizer

How to setup Shopizer

The first step for working on OSS is to setup your development environment. In order to work with Shopizer, we need to setup development environment so as we can work/customise it as per our preference.

Setting up Shopizer is really easy, all we need is IDE and Apache Maven to work with. In this post, I will try to explain as of how we can setup Shopizer in Eclipse. We will need following for setting up our development environment.

  1. JDK ( I will use 1.8)
  2. Apache Maven.
  3. IDE ( Eclipse for our case )
  4. Git client to clone Shopizer in your local repository.

This tutorial assumes that you have a basic understanding of Maven and how to use git.