[Tutorial Build Project] #2

Open
opened 2024-04-29 16:36:35 +07:00 by sindhu · 0 comments
Collaborator

SIntak build

env GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o ./tmp/main cmd/main.go

image

Upload ke devone
image

Cek di termux
tmux ls
tmux attach -t 7
tmux new -s cpone
kalau sudah masuk
cd project/cpone
./main

jika sudah run tekan ctrl + b lalu d

image

SIntak build ``` env GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o ./tmp/main cmd/main.go ``` ![image](/attachments/8818ae4b-886a-45bf-a24d-e6f6b7a23af8) Upload ke devone ![image](/attachments/9e834ce6-abba-4e25-b13a-4c58c860f4e1) Cek di termux tmux ls tmux attach -t 7 tmux new -s cpone kalau sudah masuk cd project/cpone ./main jika sudah run tekan ctrl + b lalu d ![image](/attachments/44bc15d9-c30b-408c-9115-23c72218306c)
312 KiB
213 KiB
200 KiB
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: andy/corporate_portal_westerindo#2