32 lines
728 B
Markdown
32 lines
728 B
Markdown
### Run Web App
|
|
|
|
```npm run start```
|
|
|
|
### Build and Run (iOS App)
|
|
https://capacitorjs.com/docs/ios#adding-the-ios-platform
|
|
|
|
To Install:
|
|
npm install @capacitor/ios
|
|
npx cap add ios
|
|
|
|
To Open XCode:
|
|
npx cap open ios
|
|
|
|
To Rerun:
|
|
npm run build && npx cap copy ios
|
|
|
|
### Build and run (In Browser, hitting prod server)
|
|
vite build
|
|
npx serve dist
|
|
|
|
If you need to login again:
|
|
run "localStorage.clear() in the browser dev tools console and then refresh the page.
|
|
|
|
### Architecture
|
|
|
|
In Development, API routes are routed using the vite.config.js.
|
|
|
|
### Notes
|
|
|
|
Background Color:
|
|
In src/manifest.json, "#31d53d" refers to the green color which is visible in the background in the web version. This is not visible in the built version. |