-
Install Dependencies
npm install
-
Starting Dev Server
npm run dev
-
Starting supabase
- Pre-requisite: Docker should be installed
npx supabase start
-
Update env variables
-
Create a
.env
file in the root directorycp .env.example .env
-
-
Applying migrations
npx zenstack generate && npx prisma migrate dev
-
Tailscale Install in both pc & mobile
-
Get hostname from admin console Dashboard - DNS
-
Create a directory for certs
mkdir certs cd certs
-
Run
tailscale cert <device_name>.<hostname> # Eg: tailscale cert mac.yourhostname.something
-
Update the device names in admin console. Dashboard - Devices Rename 'em to something short (Eg:
pixel
for mobile device &mac
for your machine) -
Now, you can access the app with the hostname
https://mac.<hostname>:3000 #for the app # OR https://pixel.<hostname> # won't be useful for now
-
Update the App url in
capacitor.config.json
to the hostname{ ... "server": { ... "url": "https://mac.<hostname>:3000" } }
- Installing android studio will handle everything Android Studio