Elixir를 사용하도록 컴퓨터를 설정하는 가장 효과적인 방법
인사
안녕하세요 #devElixir!!! #FullStackElxpro에 오신 것을 환영합니다.
여기에서 처음부터 영웅 Elixir 개발자가 되기까지 Elixir 학습 여정을 위한 전략과 팁에 대해 논의합니다.
저는 Gustavo이고 오늘의 주제는 **Elixir를 사용하도록 로컬 컴퓨터 설정**입니다.
추신: 동영상으로 기사를 따라갈 수 있습니다.
Telegram 채널에서 Elixir에 대해 더 알고 싶으십니까?
https://elxpro.com/subscribe-elxcrew
Elixir를 사용하기 위해 컴퓨터를 설정하는 것이 왜 필수적인가요?
제 시간에 도구를 사용하면 생산성과 성능을 높일 수 있습니다.
더 빠르게 수행할 수 있을 뿐만 아니라 Elixir로 개발하는 데 필요한 모든 것이 있으면 간단하고 빠릅니다.
당신의 경력에 필요한 때를 기억하십니까?
내가 작업한 대부분의 프로젝트에서 올바른 도구와 함께 작동하도록 내 로컬 컴퓨터를 설정하는 것이 얼마나 힘든 일인지 알게 되었습니다. Elixir로 작업하기로 결정했을 때 여러 시나리오에서 작동하도록 모든 필수 도구를 매핑했습니다. 이 설정이 항상 성공했기 때문에 운이 좋았습니다. 왜 당신과 공유하고 싶습니까? Elixir 엔지니어로서의 삶을 더 쉽게 만들기 위해.
시작하자
도구
Zsh
제 시간에 도구를 사용하면 생산성과 성능을 높일 수 있습니다.
더 빠르게 수행할 수 있을 뿐만 아니라 Elixir로 개발하는 데 필요한 모든 것이 있으면 간단하고 빠릅니다.
당신의 경력에 필요한 때를 기억하십니까?
내가 작업한 대부분의 프로젝트에서 올바른 도구와 함께 작동하도록 내 로컬 컴퓨터를 설정하는 것이 얼마나 힘든 일인지 알게 되었습니다. Elixir로 작업하기로 결정했을 때 여러 시나리오에서 작동하도록 모든 필수 도구를 매핑했습니다. 이 설정이 항상 성공했기 때문에 운이 좋았습니다. 왜 당신과 공유하고 싶습니까? Elixir 엔지니어로서의 삶을 더 쉽게 만들기 위해.
시작하자
도구
Zsh
도구
Zsh
brew install zsh zsh-completions
Curl: 때때로 HTTP 요청을 테스트하는 것이 매우 유용합니다.
Firacode : 이 글꼴은 개발자가 읽기 더 쉽습니다.
OhMyZsh : 개발자를 위해 멋진 터미널을 만드는 멋진 도구
Elixir : 가장 중요한 도구입니다. 엘릭서 랭
Phoenix : 가장 중요한 프레임워크입니다. Phoenix는 Web Elixir 프로젝트를 생성합니다.
GIT : 버전 코드 제어에 필수
도커 :
이것은 신세대 개발자에게 가장 필수적인 도구 중 하나입니다. Docker를 사용하면 컴퓨터를 더럽히지 않고도 환경을 시뮬레이션하고, 자체 이미지 프로젝트를 구축하고, 개발자를 위한 데이터베이스와 도구를 쉽게 설치할 수 있습니다.
레디스
몽고
카프카
https://gist.github.com/theguuholi/f33b000d6aa1ee83b4d403574969e4a2
포스트그레스
Postgres는 Elixir로 작업하는 사람들에게 필수적인 데이터베이스입니다. 그리고 제가 제공한 아래 스크립트는 Postgres 데이터베이스를 쉽고 빠르게 설치하여 로컬 컴퓨터에서 추가 구성을 할 필요 없이 시작할 수 있는 방법입니다.
docker network create pg --driver bridge
docker run --name pg --network=pg -e "POSTGRES_PASSWORD=postgres" -p 5432:5432 -v $HOME/docker/volumes/postgres:/var/lib/postgresql/data -d postgres:13.4
- A very nice tool to deploy Elixir application and cheap.
Docker-compose: Most of the time, when you install Docker, the tool gives you docker-compose
Kubernetes: Most of the time, when you install Docker, the tool gives you kubernetes
K9s: Kubernetes CLI To Manage Your Clusters In Style!
kubectx: Tool to change kubernetes clusters easily
kubernetes-cli: Tool to execute commands in kubernetes.
...kubectl..... get, apply... pods, deployments....
Helm:
Helm helps you manage Kubernetes applications — Helm Charts help you define, install, and upgrade even the most complex Kubernetes application
DBeaver: Access SQL databases
Conduktor:
We take the complexity out of Kafka. We give you the tools you need to troubleshoot, develop, test, and collaborate with confidence.
Insomnia: For me, is one the best HTTP tool, also easier to create a good APIs with REST/GraphQL documentation.
클라우드 SDK
- Most of companies use one of them. I prefer google cloud :D
구글 클라우드
Google Cloud SDK: Tool to access Google Cloud Services
AWS
Aws-Cli: Tool to access Aws Services
Eks-ctl: Tool to manage Aws kubernetes
VSCode
- Beautify
- Color Highlight
- ElixirLS
- ENV
- Git Graph
- Live Share
- Markdown All in One
- Material Icon Theme
- Phoenix Framework
- PostCSS Language Support
- Tailwind CSS IntelliSense
- Tools for Apache Kafka
My settings.json to VSCode: https://gist.github.com/theguuholi/0a8d3c8ca651f0fe737e10d53415eb20
`
{
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"emmet.includeLanguages": {
"html-eex": "html"
},
"bracketPairColorizer.consecutivePairColors": [
[
"<",
"</"
],
[
"<",
"/>"
],
[
"Gold",
"Orchid",
"LightSkyBlue"
],
"Red"
],
"files.associations": {
"*.eex": "html-eex",
"*.leex": "html-eex",
"*.heex": "html-eex"
},
"beautify.language": {
"js": {
"type": [
"javascript",
"json",
"jsonc"
],
"filename": [
".jshintrc",
".jsbeautifyrc"
]
},
"css": [
"css",
"less",
"scss"
],
"html": [
"htm",
"html",
"html-eex"
]
},
"[javascript]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[html-eex]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"workbench.iconTheme": "material-icon-theme",
"explorer.confirmDelete": false,
"[json]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"security.workspace.trust.untrustedFiles": "open",
"explorer.confirmDragAndDrop": false,
"diffEditor.ignoreTrimWhitespace": false,
"terminal.integrated.enableMultiLinePasteWarning": false,
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": "active",
"editor.codeActionsOnSave": {
},
"[css]": {
"editor.defaultFormatter": "HookyQR.beautify"
}
}
바로 가기 및 Zsh
bash -c "$(curl --fail --show-error --silent --location https://raw.githubusercontent.com/zdharma-continuum/zinit/HEAD/scripts/install.sh)"
Plugins Zinit:
zinit light zdharma/fast-syntax-highlighting
zinit light zsh-users/zsh-autosuggestions
zinit light zsh-users/zsh-completions
zdharma/fast-syntax-highlighting: recognize commands
zsh-users/zsh-autosuggestions: suggest commands.
zsh-users/zsh-completion: add commands
My Zshrc config:
https://gist.github.com/theguuholi/d5da8b11d100f04290f8ba203f991767
Social networks:
- Gustavo Oliveira -
- Elxpro Linkedin -
- Twitter -
- ElxproBr -
- Elxpro -
Reference
이 문제에 관하여(Elixir를 사용하도록 컴퓨터를 설정하는 가장 효과적인 방법), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://dev.to/postelxpro/the-most-effective-way-to-setup-your-machine-to-use-elixir-2f78텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)