Setup Spring Boot

Introduction

Please follow below steps to install and setup all prerequisites:

Prerequisites

Please follow below steps to install and setup all prerequisites:

  • JAVA

    Make sure to have the Java installed & running in your computer. If you already have installed Java on your computer, you can skip this step.

  • Spring Tool Suite (STS)

    If you need to run skote project in your local machine to download STS (Spring Tools 4 for Eclipse) from spring.io/tools

Installation

To setup the Skote admin theme, follow below-mentioned steps:

  • Install Prerequisites

    Make sure to have all above prerequisites installed & running on your computer

After you finished with the above steps, you can following below step:

  • 1. Open Spring Tool Suite IDE.
  • 2. Select Open Projects from File System.. in File menu and click on Directory and select Skote project Folder and click Finish.
  • 3. Wait for fully completed build process.
  • 4. Then right click on project in context menu select Run As -> Spring Boot App.
  • 5. If run project on different port to change server.port into src/main/resources/application.properties file because by default run on 8080 port.
Multi Language Settings

Lets add french language.

  • Create new file fr.json in the fr folder in the src/main/resources/static/assets/lang folder and copy the en.json file code in this file.
  • Now you need to add the language in the src/main/resources/static/assets/js/app.js file. In the function setLanguage add the "else if" condition as below and make sure to add french.jpg file.
        else if(lang=='fr') {
            document.getElementById("header-lang-img").src = "assets/images/flags/french.jpg";
        }
    
  • You can simply use in the HTML file to convert the language text just add the attribute "key" to the parent div or any HTML tag. Example: <div key="t-title">This is title.</div>
© Themesbrand.
Crafted with by Themesbrand