Skip to content

Files

Latest commit

 

History

History

server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Server

How to run the server

  • Python: 3.10
  1. server 디렉토리로 이동
cd 2022-capstone-desgin-project/server
  1. 의존성 라이브러리 설치
python3 -m pip install -r requirements.txt
  1. app.py 실행
python3 app.py
  1. 연결된 네트워크의 IP주소로 android/app/src/main/java/com/example/capstoneandroid/stylusActivity.kt의 77번 행 수정
// val retrofit: Retrofit = Retrofit.Builder().baseUrl("http://192.168.0.16:5000")
val retrofit: Retrofit = Retrofit.Builder().baseUrl("http://YOUR_IP_ADDRESS:5000")