Skip to content

Latest commit

 

History

History
82 lines (47 loc) · 2.22 KB

README.md

File metadata and controls

82 lines (47 loc) · 2.22 KB

Build Status Codacy Badge Known Vulnerabilities

Skills Base Systelab project

This project is a simple Skills Base application.

Getting Started

To get you started you can simply clone the skillsbase repository and install the dependencies:

Prerequisites

You need git to clone the skillsbase repository

You will need Java™ SE Development Kit 8 and Maven.

Clone skillsbase

Clone the skillsbase repository using git:

git clone https://github.com/systelab/skillsbase.git
cd skillsbase

Install Dependencies

In order to install the dependencies and generate the Uber jar you must run:

mvn clean install

Run

To launch the server, simply run with java -jar the generated jar file.

cd target
java -jar skillsbase-1.0.jar

API

You will find the swagger UI at http://localhost:8080/swagger-ui.html

First generate a token by login as user Systelab and password Systelab. After that authorize Swagger by copying the bearer.

Docker

Build docker image

There is an Automated Build Task in Docker Cloud in order to build the Docker Image. This task, triggers a new build with every git push to your source code repository to create a 'latest' image. There is another build rule to trigger a new tag and create a 'version-x.y.z' image

You can always manually create the image with the following command:

docker build -t systelab/skillsbase . 

Run the container

docker run -p 8080:8080 systelab/skillsbase

The app will be available at http://localhost:8080/swagger-ui.html