fix events icon, misc errors, new sidebar started

This commit is contained in:
metacryst
2026-03-20 09:27:56 -05:00
parent 41a9c9d269
commit 8fad5d7717
6 changed files with 254 additions and 158 deletions

View File

@@ -1,35 +1,47 @@
### Run Web App
## Run in Browser
```npm run start```
### Build and Run (iOS App)
https://capacitorjs.com/docs/ios#adding-the-ios-platform
Add this option into the top level of capacitor.config.json if you want the ios app to call the dev server:
### Browser: Dev Frontend and Dev Backend (localhost)
This option should be at the top level of capacitor.config.json
"server": {
"url": "http://sam.local:5173",
"cleartext": true
},
Otherwise, it will call prod.
### Browser: Prod Frontend and Prod Backend
Run:
vite build
npx serve dist
To Install:
If you need to login again:
run localStorage.clear() in the browser dev tools console and then refresh the page.
## Run On Device
https://capacitorjs.com/docs/ios#adding-the-ios-platform
One-Time Install:
npm install @capacitor/ios
npx cap add ios
To Open XCode:
npx cap open ios
To Rerun:
Run this command to rebuild for iOS
npm run build && npx cap copy ios
### Build and run (In Browser, hitting prod server)
vite build
npx serve dist
### iOS: Dev Frontend and Dev Backend (localhost)
This option should be at the top level of capacitor.config.json
"server": {
"url": "http://sam.local:5173",
"cleartext": true
},
If you need to login again:
run localStorage.clear() in the browser dev tools console and then refresh the page.
### iOS: Dev Frontend with Prod Backend (frm.so)
Add "https://frm.so" to VITE_API_URL in .env.development
### iOS: Prod Frontend and Prod Backend (frm.so)
Remove the "server" object from capacitor.config
### Various Commands
npx cap config - this will list the full configuration currently being used