Note
Make sure you've followed React Native's prerequisites
Note
Remember to set your CatAPI API key environment variable in
apps/mobile/.env
. Use .env.example
as a template.
git clone https://github.com/twodoorsdev/kittygram.git
cd kittygram
bun i
nx run mobile:prebuild --clean
nx run mobile:run-android
# OR
nx run mobile:run-ios
Before running the E2E tests, set in apps/mobile/.env
.
Note
Make sure you've followed Detox's prerequisites
Warning
Remember to set your environment variables in both apps/mobile/.env
and
apps/mobile-e2e/.env
before running the tests. Specifically, make sure
the CatAPI API key is the same in both files, and that EXPO_PUBLIC_TEST_MODE
is true
in apps/mobile/.env
.
nx run mobile:prebuild --clean
nx run mobile:run-android
# OR
nx run mobile:run-ios
nx run mobile-e2e:build -- --configuration ios.sim.release
nx run mobile-e2e:test -- --configuration ios.sim.release