
INTRO GitHub 회원가입 GitHub repository 생성 (macOS) git 설정 (macOS) git commit/push GitHub repository 확인 1. GitHub 회원가입 및 Repository 생성 GitHub site : https://github.com/ 우측 상단 회원가입 : Sign up 클릭 로그인 : Sign in Username or email address Password 리포지터리 생성 repositories >> New Owner / Repository name - [username] / [repository name : 생성할 리포지터리 이름] 형태로 작성 - Public/Private - Initialize this repository with: 3..
wifi 고정 ip 설정 timezone 확인 $ date Sun Jan 16 15:23:39 UTC 2022 timezone 적용 : 마지막줄 #TZ setting $ sudo nano .profile # ~/.profile: executed by the command interpreter for login shells. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login # exists. # see /usr/share/doc/bash/examples/startup-files for examples. # the files are located in the bash-doc package. # the default umask is..
INTRO wifi 고정 ip 설정 ssh port 변경방화벽 설정 : ssh port 허용 1. wifi 고정 ip 설정 $ cd /etc/netplan 기존 설정 복사 및 생성 /etc/netplan$ sudo cp 50-cloud-init.yaml 10-wifi-static-init.yaml 기존 설정 백업 /etc/netplan$ sudo mv50-cloud-init.yaml 50-cloud-init.yaml_back /etc/netplan$ sudo nano 10-wifi-static-init.yaml network: ethernets: eth0: dhcp4: true optional: true wifis: wlan0: addresses: [192.XXX.XXX.XXX/24] gateway4: ..

INTRO rasberrypi 3 B+(64bit 지원) balena Etcher(macOS 용 이미지 굽기) : https://www.balena.io/etcher/?ref=etcher_footer ubuntu server 20.04.3 LTS(Long Term Support) : https://ubuntu.com/download/raspberry-pi wifi 설정 및 ssh 접속 balena Etcher ubuntu 이미지 flash 화면 R-Pi(Raspberry Pi) 설치 전 network setting SD-card : system-boot 내 network-config 파일 수정 주의 : "Your-SSID"에 wifi-ssid를 따옴표 안에 넣는다. 콜론(:) 옆에 작성하는게 아님 "Yo..
MariaDB 설치 $ brew update $ brew upgrade $ brew install mariadb 2022.01.16 기준 Server version: 10.6.4-MariaDB Homebrew mariadb upgrade 방법 $ brew update $ brew upgrade $ brew upgrade mariadb MariaDB server 시작 $ brew services start mariadb ==> Tapping homebrew/services Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-services'... remote: Enumerating objects: 1686, done. remote: Count..

INTRO - REST 용어 - API 용어 - Django REST Framework 용어 - ModelForm vs ModelSerialzer 비교 # Restfull API server 기능 구현하기 - CBV(Class Based View)와 FBV(Function Based View) CRUD Control 비교 Create : 생성(POST) Read : 조회(GET) Update : 수정(PUT) Delete : 삭제(DELETE) 용어설명 Representational State Transfer (REST) : service-architecture.com 원문 번역 네트워크 리소스를 정의하고 처리하는 방법을 설명하는 일련의 원칙을 기반으로 하는 아키텍처 스타일입니다. 이러한 원칙은 2000..

INTRO 0. Test 용 template 만들기 : bootstrap 활용 1. model 생성 및 migration : django 관리자를 이용한 CRUD control 2. view 만들기 3. template 적용하기 4. model-form을 이용한 CRUD Control Create : 생성, New(model-form + POST method) Read : 조회, Detail Update : 수정(model-form + Post method) Delete : 삭제 들어가기 전에 사전 이해가 필요한 사항 - django 가상환경 및 프로젝트 생성/설정 : 참고1, 참고2 - app 생성과 template 및 static/css 기초 : 참고 - bootstrap 적용 및 template 분..
INTRO model의 field를 추가하거나 수정 시 DB schema 변경으로 발생하는 migrte 이슈 테스트 시 생성했던 model의 DB의 filed 이름, 종류, 속성, 수량(추가 또는 제거)이 변경될 때 발생 You have 1 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): [YourApp] Run 'python manage.py migrate' to apply them. - 개발서버 127.0.0.1:8000/admin 에서 DB 내용을 지운다 - admin.py, views.py, urls.py, forms.py 등에서 선언했던 import를 포함 주석처..
- Total
- Today
- Yesterday
- SSH
- github
- r
- Regression
- pyserial
- 코로나
- CSV
- arduino
- Django
- Python
- COVID-19
- Pandas
- git
- analysis
- raspberrypi
- sublime text
- Templates
- DS18B20
- 자가격리
- vscode
- 라즈베리파이
- 확진
- template
- 코로나19
- DAQ
- Model
- server
- Raspberry Pi
- MacOS
- ERP
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |