> For the complete documentation index, see [llms.txt](https://dev-en.omnione.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev-en.omnione.net/server-system-construction/untitled-1-1/untitled.md).

# IntelliJ IDEA

This is a guide document for building the server environment for the Demo through IntelliJ IDEA (2020.01.02).

## preparation in advance

Download and install the below to operate IntelliJ IDEA

### Download IntelliJ IDEA

> [**IntelliJ IDEA Download Link**](https://www.jetbrains.com/ko-kr/idea/download)

### Option activation of IntelliJ Annotation Processing

* Preference → Build, Execution, Deployment → Compiler
* Annotation Processors → Enable Annotation Processing

### Install MariaDB

[**MariaDB Download Link**](https://mariadb.org/download/)

### **OmniOne SDK**

OmniOne SDK consists of two SDK as below.

Please use it by adding it to the Demo server project.

> **core.jar**

> **server.sdk.jar**

## Get Demo Server project

### Import and Open

Execute IntelliJ IDEA then select Import and Open menu.

* omn-demo-server

### Project Structure Settings

Apply OmniOne SDK at the Project Structure menu.

### Apply OmniOne SDK

* Apply the SDK received from OmniOne to Modules → Dependencies → Add
  * core.jar
  * server.sdk.jar

![](https://1805733871-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MA9R5J-GVsSkFxuIMzv%2F-MB6tyDoVJkT2BWzM3Ur%2F-MB6x75PM_pZsEXqGROZ%2Fintellij%20module.gif?alt=media\&token=b583d6de-5d98-4dbb-8f57-11abb92c7f68)

## MariaDB Settings

Based on the reporting date, MariaDB 10.4.13 will proceed from the DB console.

when the server runs properly, tables and schemas will be created automatically.

### Create user account

Create a database connection account for the Demo server to use.

```sql
CREATE USER 'omnione'@'%' IDENTIFIED BY '[Password]';
```

### Grant access to a database

Grant access to a database for the Demo server to use.

```sql
GRANT ALL PRIVILEGES ON omnionedemo.* TO omnione@localhost;
FLUSH PRIVILEGES;
```

## Default settings complete

Default settings for compositing the Demo project are done.

Now the procedure for building the Issuer/SP system will begin.

## Building the Issuer / SP system

Apply the applicable settings for the Issuer and the SP system.

### Issuer settings

{% content-ref url="/pages/-MAVNTN\_PXYeqQZPcEoh" %}
[Building the Issuer system](/server-system-construction/untitled-2.md)
{% endcontent-ref %}

### SP settings

{% content-ref url="/pages/-MAVNNtdRMNDaMq7gMiy" %}
[Building the SP system](/server-system-construction/untitled-1.md)
{% endcontent-ref %}

## Server execution

Please run the server after all the settings are completed.
