| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 |
- 루비
- 정규식
- docket
- 오랜지파이
- 레일즈
- 쿠버네티스
- MySQL
- 도커
- 설치
- 우분투
- claude #install
- RUBY
- 코틀린
- Visual Studio Code
- Migrate
- 차량번호찾기
- 주차장 시스템
- Kotlin
- install
- after_update
- Java
- ubuntu
- Rails
- 우분투 24
- Ruby on Rails
- docker
- mac
- after_save
- 사용중인포트검색
- Orange Pi 3B
- Today
- Total
목록전체 글 (126)
중고 신입이 개발해보기..
#!/usr/bin/env bash## install-docker-k8s.sh# Ubuntu(22.04/24.04)에 Docker + Kubernetes(kubeadm/kubelet/kubectl) 설치# 컨테이너 런타임: containerd (k8s 1.24+ 부터 dockershim 제거)## 사용법:# sudo ./install-docker-k8s.sh # 패키지 설치만# sudo INIT_CLUSTER=true ./install-docker-k8s.sh # 설치 + 컨트롤플레인 init#set -euo pipefail# ── 설정값 (필요에 맞게 수정) ─────────────────────K8S_VERSION="${K8S_VERSION:-v1.3..
https://guides.rubyonrails.org/install_ruby_on_rails.html레일즈 가이드에 루비설치를 sudo apt updatesudo apt install build-essential rustc libssl-dev libyaml-dev zlib1g-dev libgmp-devcurl https://mise.run | shecho 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrcsource ~/.bashrcmise use -g ruby@3 https://github.com/jdx/mise 로 설치 https://rubyenv.app/ 요런넘도 존재한다.
api 테스트할때 postman을 많이 사용하는데 Requestly App도 무료이다.. 요걸로 https://requestly.com/ A Simple & Powerful HTTP Interceptor for browsersOpen-Source HTTP Interceptor to Intercept and Modify HTTPs Requests. Redirect URLs, Modify HTTP Headers, Mock APIs, Inject Scripts, Modify GraphQL, etc.requestly.com 무료 컨테이너 관리 컨테이너 관리 툴.. https://podman.io/ -
결제를 했다면. curl -fsSL https://claude.ai/install.sh | bash 설치한다 Claude Code successfully installed! Version: 2.1.39 Location: ~/.local/bin/claude Next: Run claude --help to get started Setup notes: • Native installation exists but ~/.local/bin is not in your PATH. Run: echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc Installation complete! 완료.. echo 'export PAT..
ActiveRecord에서 다형성(polymorphic) 관계를 모델, 마이그레이션, 사용 예제까지 어떻게 설정하고 활용 1. 마이그레이션 설정polymorphic: true를 쓰면 Rails가 자동으로 _id, _type 두 컬럼을 만듭니다.class CreateComments ➡️ 위 코드 실행 후 comments 테이블에는 아래 컬럼이 생김:commentable_id (integer)commentable_type (string)2. 모델 설정# 다형성 관계를 가지는 모델class Comment 3. 사용 예시post = Post.create(title: "첫 글")photo = Photo.create(title: "풍경 사진")# post에 댓글 달기post.comments.create(body..
bundle exec annotate --models app/models/user.rb --with-comment
Rails8이 나왔다. 레일즈를 공부하기 위해서. 이제 Rails8 기반으로 여러 기능을 만들어보자. https://rubyonrails.org/ Ruby on Rails: Compress the complexity of modern web appsA full-stack web application framework written in Ruby, following the Model View Controller pattern, that includes everything you need to build modern database-backed web apps.rubyonrails.org https://guides.rubyonrails.org/getting_started.html Getting Star..