
register form login/logout form platform 정리 home : notice sales app 추가 tapp app 제거 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 -------------------- platform review -------------------- browser : localhost:8000 login sign-up After Log..

Templates Structure root template : base.html static : css 적용 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 @ macOS : local-dev 1. Templates Structure [macOS](pyERP)testerp$ ./manage.py startapp home settings : Add app. {SublimeText} config..

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..

django : wiki - 파이썬으로 작성된 오픈 소스 웹 프레임워크로, 모델-뷰-컨트롤러(MVC) 패턴을 따르고 있다. - 고도의 데이터베이스 기반 웹사이트를 작성하는 데 있어서 수고를 더는 것이 장고의 주된 목표 - 콤포넌트의 재사용성(reusability)과 플러그인화 가능성(pluggability), 빠른 개발 , "DRY(Don't repeat yourself: 중복배제)" 원리 - 설정 파일부터 데이터 모델에까지 파이썬 언어가 구석구석에 쓰였다. 0. 구성 장고는 파이썬으로 코딩한 모델을 관계형 데이터베이스로 구축해주는 모델(Model), HTTP 요청을 처리하는 웹 템플릿 시스템인 뷰(View), URL의 라우팅을 처리하는 URL 컨트롤러 (Controller) 로 구성된 MVC 디자인 패..
- Total
- Today
- Yesterday
- COVID-19
- git
- vscode
- template
- Raspberry Pi
- 자가격리
- Templates
- Model
- DAQ
- Regression
- 라즈베리파이
- 코로나
- MacOS
- github
- pyserial
- Pandas
- arduino
- ERP
- 코로나19
- SSH
- Django
- r
- CSV
- DS18B20
- raspberrypi
- analysis
- Python
- server
- 확진
- sublime text
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |