
INTRO rasberrypi 4 balena Etcher(macOS 용 이미지 굽기) : https://www.balena.io/etcher/?ref=etcher_footer Ubuntu Desktop 20.04.2 LTS(Long Term Support) : https://ubuntu.com/download/raspberry-pi 1. ununtu 이미지 굽기 balena Etcher 2. ssh 설정 ununtu-terminal $ sudo apt update $ sudo apt install openssh-server $ sudo systemctl enable ssh $ sudo systemctl start ssh # 참고: mac ssh 접속 mac-terminal macOS $ ssh [Ser..
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..

Sales / List : models - urls - views - templates Quotation : urls - views - templates Raspi-server Test : git INTRO * local / server terminal 구분 : [macOS] / [Raspi] ** venv 표기 : (pyERP) *** Django MTV Model 참고 : [python] django(장고, 웹 프레임워크), MTV Architecture: Model-Template-View Raspi : server - Python : 3.7.3 - django : 3.2 macOS : local-dev - Python : 3.9.4 - django : 3.2 @ macOS : local-dev 1..

Local / Server 구동 비교 ERP Menu hyperlink Test : urls - views - templates 관계 이해 Server Test : git transmission INTRO * local / server terminal 구분 : [macOS] / [Raspi] ** venv 표기 : (pyERP) Raspi : server - Python : 3.7.3 - django : 3.2 macOS : local-dev - Python : 3.9.4 - django : 3.2 1. superuser Django Admin 상태 macOS : local-dev http://localhost:8000/admin Raspi : server http://[RaspiIP]:xxxx/admi..
1. django SECRET_KEY 보안설정 (pyERP)testerp$ nano config/settings.py .... # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = '[YourKey]' .... (pyERP)testerp$ nano secret.json (pyERP)testerp$ touch secret.json (pyERP)$ pip install django { "SECRET_KEY": "[YourKey]" } (pyERP)testerp$ nano config/settings.py import os, json from django.core.exceptions import ImproperlyConf..

INTRO Raspi : server - Python : 3.7.3 - django : 3.2 macOS : local-dev - Python : 3.9.4 - django : 3.2 local-dev : macOS 1. 가상환경 가상환경 생성 및 실행 ~/.virtualenvs/ $ venv pyERP ~/.virtualenvs/ $ cd pyERP ~/.virtualenvs/pyERP $ source bin/activate (pyERP)$ 2. django 설치 및 django-project 생성 (pyERP)$ pip install --upgrade pip (pyERP)$ pip install django (pyERP)$ django-admin.py startproject config (pyERP)..
RaspberryPi update [raspi]$ sudo apt update [raspi]$ sudo apt upgrade : Do you want to continue?(Y/n) y # 상세 초기 셋팅 참고 : (macOS)[Raspberry Pi] Raspbian OS 설치 및 기본 설정 # wi-fi / SSH 셋팅 참고 :(macOS)[Raspberry Pi] Raspbian wi-fi 및 SSH 설정 # 고정 IP 셋팅 참고 :(macOS)[Raspberry Pi] Raspbian wi-fi 고정 ip 및 외부접속 설정 # RaspberryPi 새로운 IP 환경 기존 셋팅 변경 참고 :(macOS)[Raspberry Pi] wi-fi 설정 및 ssh 접속 - 기존 환경 접속 git settin..
Raspberry Pi (raspi)$ sudo raspi-config ----config---- 2. network ssid pass ----config---- (raspi)$ ifconfig wlan0 ip 확인 macOS terminal ssh 접속 (macOS)$ ssh raspiID@ip -p [portNo.] macOS terminal ssh 접속 후 raspi 환경 (macOS_raspi)$ wpa_passphrase yourSSID SSIDpassword network={ ssid="yourSSID" #psk="yourpassword" psk=new_yourkey } psk 복사 (macOS_raspi)$ sudo nano /etc/wpa_supplicant/wpa_supplicant.co..
- Total
- Today
- Yesterday
- 코로나19
- github
- pyserial
- MacOS
- COVID-19
- git
- 코로나
- Pandas
- server
- r
- Django
- ERP
- 자가격리
- sublime text
- Raspberry Pi
- arduino
- Regression
- 라즈베리파이
- vscode
- Python
- raspberrypi
- CSV
- DS18B20
- SSH
- DAQ
- 확진
- Model
- Templates
- template
- analysis
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |