peterlazar1993 / partayy

2 stars 0 forks source link

Mention reverse port forwarding for development #1

Open patcon opened 9 months ago

patcon commented 9 months ago

Hi! This is rad!

I know this is a basic android dev thing, but it might be worth mentioning the set up of reverse port forwarding to get the local development set up working

# list device serial numbers
adb devices
# For each device you wish to be accessing dev server on workstation...
adb -s <serial number> reverse tcp:1999 tcp:1999

Thanks again for the helpful repo!

peterlazar1993 commented 9 months ago

Sure I'll mention it. I'll also try to update to the latest dependencies.

patcon commented 9 months ago

Cool. Thanks! This too fwiw

diff --git a/package.json b/package.json
index 02dfecf..e68e928 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,7 @@
     "start": "react-native start",
     "test": "jest",
     "postinstall": "patch-package",
-    "partykit:serve": "yarn partykit dev server.ts"
+    "partykit:serve": "partykit dev server.ts"
   },
   "dependencies": {
     "@craftzdog/react-native-buffer": "^6.0.5",