Skip to content

audgeviolin07/lifeofkai.ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lifeofkai.ai

to fix the podfile error ](https://stackoverflow.com/questions/36902497/cannot-install-cocoapods-no-podfile-found-in-the-project-directory) the one with 139 upvotes

cd to ios on react native and then run "pod install" then "pod install --repo-update"

HOW TO RUN

  • cd to lifeofkaiapp
  • run "npx expo start --tunnel"
  • download the expo app on phone and scan the qr code from camera

http://127.0.0.1:8000 original server

config the fast api server for hack davis uvicorn main:app --reload

sudo npm install -g expo-cli uvicorn main:app --host 0.0.0.0 --port 8000 --reload uvicorn main:app --host 10.0.2.2 --port 8000 --reload uvicorn main:app --host 173.23.29.40 --port 3000 --reload uvicorn main:app --host 0.0.0.0 --port 3000 --reload

uvicorn main:app --host 127.0.0.1 --reload

HOW TO SET THE SERVER UP

Put this on the computer side cd to lifeofkaiapp and then cd to server and run this command "uvicorn main:app --host 0.0.0.0 --port 3000 --reload" http://http://0.0.0.0:3000/

run this on the physical phone and also all the files have this as the ip config http://172.20.10.3:3000