I worked on this project during my last year at the university of Waterloo. This was hacked together in many ways, and does not exactly adhere to a scalable design.
- Clone this repo
- Setup & install react native environment: https://reactnative.dev/docs/environment-setup
- Install dependancies:
pyhton3 -m pip install -r frontend/requirements.txt
pyhton3 -m pip install -r backend/requirements.txt
- Install
ffmpeg
system librarybrew install ffmpeg
- Startup backend server
cd backend
./run.sh
- Startup
fe_upload
servercd frontend
python3 fe_upload.py
- In a separate terminal start Metro from the
frontend
folder by runningnpx react-native start
- In a separate terminal run
npx react-native run-ios
from thefrontend
folder to run the AnyTalk App
- missing gcp creds.
- ... Set up a gcp account with appropriate auth scopes, and add it to a json, save it in the FE folder
- error Failed to load configuration of your project.
- run
npm install --force
in root of project
- error Failed to build iOS project. ran "xcodebuild" command but it exited with error code 65
- cd into
frontend/ios
folder - run
pod install
- Some other error we don't remember
- XCode > Preferences > Locations > Click the dropdown next to "Command Line Tools" and select the same version the mac should prompt for password or fingerprint
- Invalid
Podfile
file: cannot load such file -- /myPath/node_modules/react-native/scripts/react_native_pods
cd frontend
- run
npm audit fix
cd ios
- run
pod install
- Undefined symbols for architecture x86_64
rm -rf ~/Library/Developer/Xcode/DerivedData/*
cd ios
pod install
- restart metro and rebuild app