Skip to content

Commit ae41378

Browse files
authored
Merge pull request #12 from easy-cloud-Knet/ReZero
jaggedpain
2 parents 4f960bd + ab1825d commit ae41378

51 files changed

Lines changed: 1203 additions & 50 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.LEGACY/.gitignore

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,goland+all
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,goland+all
3+
4+
### GoLand+all ###
5+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
6+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
7+
8+
# User-specific stuff
9+
.idea
10+
# CMake
11+
cmake-build-*/
12+
13+
# File-based project format
14+
*.iws
15+
16+
# IntelliJ
17+
out/
18+
19+
# mpeltonen/sbt-idea plugin
20+
.idea_modules/
21+
22+
# JIRA plugin
23+
atlassian-ide-plugin.xml
24+
25+
# Cursive Clojure plugin
26+
.idea/replstate.xml
27+
28+
# SonarLint plugin
29+
.idea/sonarlint/
30+
31+
# Crashlytics plugin (for Android Studio and IntelliJ)
32+
com_crashlytics_export_strings.xml
33+
crashlytics.properties
34+
crashlytics-build.properties
35+
fabric.properties
36+
37+
### VisualStudioCode ###
38+
.vscode/*
39+
!.vscode/settings.json
40+
!.vscode/tasks.json
41+
!.vscode/launch.json
42+
!.vscode/extensions.json
43+
!.vscode/*.code-snippets
44+
45+
# Local History for Visual Studio Code
46+
.history/
47+
48+
# Built Visual Studio Code Extensions
49+
*.vsix
50+
51+
### VisualStudioCode Patch ###
52+
# Ignore all local history of files
53+
.history
54+
.ionide
55+
56+
# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,goland+all
57+
58+
KWS_Control
59+
*.exe
60+
61+
config.yaml
62+
sshprivate

.LEGACY/Dockerfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# 빌드 및 실행 단계
2+
FROM golang:1.21
3+
4+
# 필수 패키지 설치 (libvirt 개발 패키지 포함)
5+
RUN apt-get update && apt-get install -y \
6+
libvirt-dev \
7+
pkg-config \
8+
&& rm -rf /var/lib/apt/lists/*
9+
10+
# 작업 디렉토리 설정
11+
WORKDIR /app
12+
13+
# Go 모듈 초기화 및 의존성 설치
14+
COPY go.mod go.sum ./
15+
RUN go mod download
16+
17+
# 애플리케이션 소스 코드 복사
18+
COPY . .
19+
20+
# 애플리케이션 빌드
21+
RUN go build -o main .
22+
23+
# 포트 설정 (필요시)
24+
EXPOSE 8080
25+
26+
# 애플리케이션 실행
27+
CMD ["./main"]

.LEGACY/Makefile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
fileName:=kws
2+
3+
4+
build:
5+
go build -o $(fileName) .
6+
7+
run: build
8+
chmod +x ./$(fileName)
9+
./$(fileName)
10+
11+
12+
13+
clean:
14+
rm ./kws

0 commit comments

Comments
 (0)