Skip to content

Latest commit

 

History

History
119 lines (83 loc) · 1.25 KB

File metadata and controls

119 lines (83 loc) · 1.25 KB

Command Reference

This file contains the basic setup and run commands for the server and interface projects.

Initial Setup

Server

cd server
bun install
Copy-Item .env.example .env

Interface

cd interface
npm install

Interface iOS Setup (macOS only)

cd interface
npm run pod-install

Run The Server

Development Mode With Bun Watch

cd server
bun run dev

Run Server With Bun

cd server
bun run start:bun

Run Server With Node

cd server
bun run start

Check Server Health

curl.exe -s http://localhost:4000/api/health

Run The Interface

Start Metro Bundler

cd interface
npm start

Run Android App

cd interface
npm run android

Run iOS App

cd interface
npm run ios

Recommended Local Workflow

Open separate terminals:

Terminal 1

cd server
bun run dev

Terminal 2

cd interface
npm start

Terminal 3

cd interface
npm run android

Useful Interface Commands

cd interface
npm run lint
npm test

Useful Cleanup Command

cd interface
npm run clean