Skip to content

ilyoil2/Kanjify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

146 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kanjify

Kanjify monorepo

Development

#  caffeinate -i ./dev.sh

#  ngrok http 8002

앱 빌드 : eas build --platform android --profile preview

lsof -ti TCP:8002,3002 | xargs kill -9

Mobile (Expo Go)

1. IP 설정

ifconfig | grep "inet " | grep -v 127.0.0.1

나온 IP를 mobile/lib/api.tsAPI_BASE_URL에 입력:

export const API_BASE_URL = "http://<내 IP>:8002";

2. 의존성 설치 (최초 1회)

cd mobile && npm install

3. 실행

Django 서버를 먼저 켜고 (./dev.sh), 별도 터미널에서:

cd mobile && npx expo start -c

4. 폰에서 열기

  1. App Store / Play Store에서 Expo Go 설치
  2. 터미널에 뜬 QR 코드 스캔 (iOS: 카메라 앱, Android: Expo Go 앱 내 스캔)

컴퓨터와 폰이 같은 Wi-Fi에 연결되어 있어야 함

About

Kanjify monorepo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors