brew install nginx Docroot is: /opt/homebrew/var/www The default port has been set in /opt/homebrew/etc/nginx/nginx.conf to 8080 so that nginx can run without sudo. nginx will load all files in ...
Certbot으로 HTTPS 적용을 위한 키 생성
key 생성 https://certbot.eff.org/instructions?ws=nginx&os=osx brew install certbot sudo certbot certonly --manual Saving debug log to /var/log/letsencrypt/letsencrypt.log Please enter the dom...
[FastAPI] HTTPS 적용
https://fastapi.tiangolo.com/deployment/https/ uvicorn.run("app.main:app", host="0.0.0.0", port=8432, reload=True, ssl_keyfile="./key.pem", ...
[React Native] ios siulator 실행
› Metro waiting on exp://192.168.0.64:19000 › Scan the QR code above with Expo Go (Android) or the Camera app (iOS) › Press a │ open Android › Press i │ open iOS simulator › Press w │ open web ...
[Python] 네이버 카탈로그 페이지 스크랩
https://search.shopping.naver.com/catalog/22766289732?cat_id=50000216&frm=NVSCPRO&query=%EB%8F%84%EB%A7%88&NaPm=ct%3Dkxlhzpcw%7Cci%3D582e1a74c939ca66a4c834f93da443380d27eb19%7Ctr%3Dsls%...
React Native 환경 구성
VSCode Plugin https://marketplace.visualstudio.com/items?itemName=msjsdiag.vscode-react-native 환경 설정 # nodejs 다운로드 및 설치 # This package has installed: • Node.js v16.13.1 to /usr/local/b...
[React Native] useEffect를 활용해 RestAPI 호출
import React, { useEffect, useState } from 'react'; import { FlatList, Text, View } from 'react-native'; export default App = () => { const [isLoading, setLoading] = useState(true); const [...
[Python] 네이버 스마트스토어 정보 스크랩
https://smartstore.naver.com/priceclub/products/4814057455?NaPm=ct%3Dkxlu9dtk%7Cci%3Da92adcb517ad11a4604f64100199bc3be834d2df%7Ctr%3Dslsbrc%7Csn%3D165145%7Chk%3D9c8373b4d8cf0a590a01af52bdf6f82a1676...
FastAPI 시작
https://fastapi.tiangolo.com/ pyenv virtualenv 3.8.10 backend pyenv local backend pip install fastapi pip install "uvicorn[standard]" uvicorn main:app --reload # 코드 변경이 있어도 자동으로 reload http:...
[FastAPI] CORS
Access to fetch at 'http://localhost:8000/' from origin 'http://localhost:19006' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an...