Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polish README #1992

Merged
merged 2 commits into from
Dec 30, 2024
Merged

Polish README #1992

merged 2 commits into from
Dec 30, 2024

Conversation

ralf0131
Copy link
Contributor

Polish quick start.

Polish quick start.
@CLAassistant
Copy link

CLAassistant commented Dec 25, 2024

CLA assistant check
All committers have signed the CLA.

For the complexity of C++ dependencies, the compilation of LoongCollector requires you have docker installed. If you aim to build LoongCollector from sources, you can go ahead and start with the following commands.

1. Start with local
For the complexity of C++ dependencies, the compilation of LoongCollector requires you have docker and golang installed. If you aim to build LoongCollector from sources, you can go ahead and start with the following commands.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

编译的过程是,make里面会拉起docer,剩下的事情都在docker里完成了,golang的依赖在docker中已经解决了。所以这里不需要修改

Copy link
Contributor Author

@ralf0131 ralf0131 Dec 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果没有安装 golang 运行时,make 的时候会直接报错,需要先 yum install go 才能继续完成编译流程

Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
rm -rf "license_coverage.txt"
rm -rf "output" "dist"
rm -rf behavior-test
rm -rf performance-test
rm -rf core-test
rm -rf e2e-engine-coverage.txt
rm -rf find_licenses
rm -rf "generated_files"
rm -rf .testCoverage.txt
rm -rf .coretestCoverage.txt
rm -rf core/build
rm -rf plugin_main/*.dll
rm -rf plugin_main/*.so
rm -rf plugins/all/all.go
rm -rf plugins/all/all_debug.go
rm -rf plugins/all/all_windows.go
rm -rf plugins/all/all_linux.go
go mod tidy -modfile "go.mod" || true
/bin/sh: go: command not found
./scripts/import_plugins.sh plugins.yml,external_plugins.yml go.mod
===============GENERATING PLUGINS IMPORT==================
config: plugins.yml,external_plugins.yml
modfile: go.mod
root-dir: /root/loongcollector
==========================================================
./scripts/import_plugins.sh: line 39: go: command not found
make: *** [Makefile:149: import_plugins] Error 127

@messixukejia messixukejia merged commit e8b9318 into alibaba:main Dec 30, 2024
15 checks passed
@henryzhx8 henryzhx8 added the documentation Improvements or additions to documentation label Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants