Skip to content

Commit

Permalink
change deprecated theme
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeeuncho34 committed Nov 6, 2024
1 parent 2824257 commit 9bd7700
Show file tree
Hide file tree
Showing 33 changed files with 433 additions and 237 deletions.
Binary file modified .DS_Store
Binary file not shown.
5 changes: 4 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

[submodule "themes/hugo-theme-learn"]
path = themes/hugo-theme-learn
url = https://github.com/matcornic/hugo-theme-learn.git
url = https://github.com/matcornic/hugo-theme-learn.git
[submodule "themes/hugo-theme-relearn"]
path = themes/hugo-theme-relearn
url = https://github.com/McShelby/hugo-theme-relearn.git
127 changes: 127 additions & 0 deletions assets/css/theme-kaia.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@

:root{

--MAIN-TEXT-color:#323232; /* Color of text by default */
--MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5 */
--MAIN-LINK-color:#1C90F3; /* Color of links */
--MAIN-LINK-HOVER-color:#167ad0; /* Color of hovered links */
--MAIN-ANCHOR-color: #4CE275; /* color of anchors on titles */

--MENU-HEADER-BG-color:#040404; /* Background color of menu header */
--MENU-HEADER-BORDER-color:#202020; /*Color of menu header border */

--MENU-SEARCH-BG-color:#202020; /* Search field background color (by default borders + icons) */
--MENU-SEARCH-BOX-color: #BFF009; /* Override search field border color */
--MENU-SEARCH-BOX-ICONS-color: #BFF009; /* Override search field icons color */

--MENU-SECTIONS-ACTIVE-BG-color:#144625; /* Background color of the active section and its childs */
--MENU-SECTIONS-BG-color:#040404; /* Background color of other sections */
--MENU-SECTIONS-LINK-color: #ccc; /* Color of links in menu */
--MENU-SECTIONS-LINK-HOVER-color: #e6e6e6; /* Color of links in menu, when hovered */
--MENU-SECTION-ACTIVE-CATEGORY-color: #ccc; /* Color of active category text */
--MENU-SECTION-ACTIVE-CATEGORY-BG-color: #5f7707; /* Color of background for the active category (only) */

--MENU-VISITED-color: #BFF009; /* Color of 'page visited' icons in menu */
--MENU-SECTION-HR-color: #144625; /* Color of <hr> separator in menu */

}

body {
color: var(--MAIN-TEXT-color) !important;
}

textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, select[multiple=multiple]:focus {
border-color: none;
box-shadow: none;
}

h2, h3, h4, h5 {
color: var(--MAIN-TITLES-TEXT-color) !important;
}

a {
color: var(--MAIN-LINK-color);
}

.anchor {
color: var(--MAIN-ANCHOR-color);
}

a:hover {
color: var(--MAIN-LINK-HOVER-color);
}

#sidebar ul li.visited > a .read-icon {
color: var(--MENU-VISITED-color);
}

#body a.highlight:after {
display: block;
content: "";
height: 1px;
width: 0%;
-webkit-transition: width 0.5s ease;
-moz-transition: width 0.5s ease;
-ms-transition: width 0.5s ease;
transition: width 0.5s ease;
background-color: var(--MAIN-LINK-HOVER-color);
}
#sidebar {
background-color: var(--MENU-SECTIONS-BG-color);
}
#sidebar #header-wrapper {
background: var(--MENU-HEADER-BG-color);
color: var(--MENU-SEARCH-BOX-color);
border-color: var(--MENU-HEADER-BORDER-color);
}
#sidebar .searchbox {
border-color: var(--MENU-SEARCH-BOX-color);
background: var(--MENU-SEARCH-BG-color);
}
#sidebar ul.topics > li.parent, #sidebar ul.topics > li.active {
background: var(--MENU-SECTIONS-ACTIVE-BG-color);
}
#sidebar .searchbox * {
color: var(--MENU-SEARCH-BOX-ICONS-color);
}

#sidebar a {
color: var(--MENU-SECTIONS-LINK-color);
}

#sidebar a:hover {
color: var(--MENU-SECTIONS-LINK-HOVER-color);
}

#sidebar ul li.active > a {
background: var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color);
color: var(--MENU-SECTION-ACTIVE-CATEGORY-color) !important;
}

#sidebar hr {
border-color: var(--MENU-SECTION-HR-color);
}


img[src$='#center']
{
display: block;
margin: 0.7rem auto; /* you can replace the vertical '0.7rem' by
whatever floats your boat, but keep the
horizontal 'auto' for this to work */
/* whatever else styles you fancy here */
}

img[src$='#floatleft']
{
float:left;
margin: 0.7rem; /* this margin is totally up to you */
/* whatever else styles you fancy here */
}

img[src$='#floatright']
{
float:right;
margin: 0.7rem; /* this margin is totally up to you */
/* whatever else styles you fancy here */
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ languageCode = 'en-us'
title = 'Kaia CCO Onboarding - Pre-Mainnet'

# Change the default theme to be use when building the site with Hugo
theme = "hugo-theme-learn"
theme = 'hugo-theme-relearn'

# For search functionality
[outputs]
Expand Down
File renamed without changes.
Binary file removed content/.DS_Store
Binary file not shown.
42 changes: 42 additions & 0 deletions content/10_Kaia_Installation/10_System_Diagram.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
title: "Network Diagram"
date: 2022-09-20T17:44:45+09:00
weight: 10
pre: "<b>A. </b>"
draft: false
---

&nbsp;

### 1. CCN Diagram
>###### CCN consists of one CN node and two PN nodes.
&nbsp;
![CCN](/images/klaytn-1.png)

&nbsp;
&nbsp;

### 2. Network architecture
>###### Full mesh connection should be made between CNs.
>###### So, You need to configure the firewall to allow ingress between nodes.
* For communication and multichannel between CN, allow TCP `32323-32324` and UDP `32323` to your firewall ingress rule.
* We will share CN node IPs for Pre-Mainnet configuration separately.

&nbsp;
&nbsp;

![network](/images/klaytn-2.png)

&nbsp;
&nbsp;

---
&nbsp;
*You can see the Kaia Design more detailed on the page below.*
>###### https://docs.kaia.io/learn/consensus-mechanism/
&nbsp;
&nbsp;
&nbsp;
If you finish this step, please click the next button ```>``` on the right side of this page.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ weight: 20
pre: "<b>B. </b>"
draft: false
---
{{< line_break >}}
&nbsp;
### 1. System Requirement (for cloud)

>Recommended Specification for AWS
Expand All @@ -15,31 +15,31 @@ draft: false
| CN | m6i.8xlarge | 32 | 128 | 4,000 (Minimum) | 4,000 (Minimum) | 1.92 |
| PN (with Live Pruning DB) | m6i.2xlarge | 8 | 32 | 3,500 (Minimum) | 4,000 (Minimum) | 0.472 |

{{< line_break >}}
&nbsp;
>Recommended Specification for Azure
| Node Type | Model | vCPU | Memory (GiB) | Storage size (GiB) | Storage speed (IOPS) | Price (Seoul Central, USD/h) |
| --- | --- | --- | --- | --- |---|---|
| CN | D32s v5 | 32 | 128 | P50 (4096) | 7500 | 1.625 |
| PN (with Live Pruning DB) | D8s v5 | 8 | 32 | P50 (4096) | 7500 | 0.472 |

{{< line_break >}}
&nbsp;
>Recommended Specification for GCP
| Node Type | Model | vCPU | Memory (GiB) | Storage size (GiB) | Storage speed (IOPS) | Price (Seoul Central, USD/h) |
| --- | --- | --- | --- | --- |---|---|
| CN | n2-standard-32 | 32 | 128 | 4,000 | 4,000 (Minimum) | 1.625 |
| PN (with Live Pruning DB) | n2-standard-8 | 8 | 32 | 3,500 (Minimum) | 4000 | 0.508121 |

{{< line_break >}}
{{< line_break >}}
&nbsp;
&nbsp;

---
{{< line_break >}}
&nbsp;
*If you would like to check the detailed requirements or use an on-premise server, please refer to the link below.*
>https://docs.kaia.io/nodes/core-cell/system-requirements/
{{< line_break >}}
{{< line_break >}}
{{< line_break >}}
&nbsp;
&nbsp;
&nbsp;
If you finish check requirements, please click the next button ```>``` on the right side of this page.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ weight: 30
pre: "<b>C. </b>"
draft: false
---
{{< line_break >}}
&nbsp;
### 1. Linux Archive Distribution
>The archive file consists of the executable binary and the configuration file structured as follows.
Expand Down Expand Up @@ -33,7 +33,7 @@ conf/kcnd.conf | CN configuration file
{{% notice warning %}}
Do NOT alter the file structure or file name. If you change it, the node may not function correctly.
{{% /notice %}}
{{< line_break >}}
&nbsp;

#### Installation
>The installation is decompress of the downloaded package where you want to install the package.
Expand All @@ -47,50 +47,50 @@ $ tar zxf kcn-baobab-vX.X.X-linux-amd64.tar.gz
{{% notice note %}}
it is recommended that decompress directory kcn-linux-amd64/bin path should be added to the environment variable $PATH to run the kcn and kcnd globally.
{{% /notice %}}
{{< line_break >}}
&nbsp;
>As an example,
{{< highlight html >}}
$ export PATH=$PATH:~/downloaded/path/kcn-linux-amd64/bin
{{< /highlight >}}
The other sections assume that the path is added to the variable.

{{< line_break >}}
{{< line_break >}}
{{< line_break >}}
&nbsp;
&nbsp;
&nbsp;


### 2. RPM Distribution (RHEL/CentOS/Fedora)

#### Install from Kaia Yum Repo
>You can install from the Kaia Yum repo, run:
##### 1) CN Installation
###### 1) CN Installation
{{< highlight html >}}
sudo curl -o /etc/yum.repos.d/klaytn.repo https://packages.klaytn.net/config/rhel/7/prod.repo && sudo yum install kcnd
{{< /highlight >}}
##### 2) PN Installation
###### 2) PN Installation
{{< highlight html >}}
sudo curl -o /etc/yum.repos.d/klaytn.repo https://packages.klaytn.net/config/rhel/7/prod.repo && sudo yum install kpnd
{{< /highlight >}}
{{< line_break >}}
&nbsp;

#### Install downloaded RPM
>Alternatively, you can install the downloaded RPM file with the following yum command.
##### 1) CN Installation
###### 1) CN Installation
{{< highlight html >}}
$ yum install kcnd-vX.X.X.el7.x86_64.rpm
or
$ yum install kcnd-baobab-vX.X.X.el7.x86_64.rpm
{{< /highlight >}}
##### 2) PN Installation
###### 2) PN Installation
{{< highlight html >}}
$ yum install kpnd-vX.X.X.el7.x86_64.rpm
or
$ yum install kpnd-baobab-vX.X.X.el7.x86_64.rpm
{{< /highlight >}}
{{< line_break >}}
&nbsp;

#### Installed Location
>The installed files are located as follows. (The PN node is also in the same location.)
Expand All @@ -101,17 +101,17 @@ File Name | Location
kcnd.conf | /etc/kcnd/conf/kcnd.conf
{{< /highlight >}}

{{< line_break >}}
{{< line_break >}}
&nbsp;
&nbsp;

---
{{< line_break >}}
&nbsp;
*You can check the more details information on the page below.*
* CN : <https://docs.kaia.io/docs/nodes/core-cell/install/install-consensus-nodes/>
* PN : <https://docs.kaia.io/docs/nodes/core-cell/install/install-proxy-nodes/>

{{< line_break >}}
{{< line_break >}}
{{< line_break >}}
&nbsp;
&nbsp;
&nbsp;

If you finish this step, please click the next button ```>``` on the right side of this page.
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
+++
title = "Kaia Installation"
date = 2022-09-20T17:44:42+09:00
weight = 10
chapter = true
type = "chapter"
weight = 1
pre = "<b>1. </b>"
draft = false
+++

### Chapter 1

# Kaia Installation
#### Package installation for node configuration are covered in this chapter.

{{< line_break >}}
{{< line_break >}}
{{< line_break >}}


&nbsp;
&nbsp;
&nbsp;

Please click the next button ```>``` on the right side of this page.

Expand Down
Loading

0 comments on commit 9bd7700

Please sign in to comment.