This repo is a drop-in copy from packages/apps/composer-app from the main branch of dxos.
See the Migration-notes.md file for the steps taken in the first couple of commits in this repo.
To run the app with HALO.
pnpm -w nx run composer-app:serveThe app can be bundled to native apps using Socket Supply, Co. (SSC).
SSC needs to be installed globally:
npm i -g @socketsupply/socket
Before running SSC, Composer must be built using:
DX_HOST=true pnpm -w nx bundle composer-appThen, to bundle the native app, in this directory, run:
ssc build -r
This will bundle the app and open it.
To open the app:
open build/mac/composer-dev.app
To run against the vite dev server:
pnpm nx serve composer-app
ssc build -r --port 5173To reset the app, inspect and delete local storage properties.
-
TODO(burdon): Create profile.
-
TODO(burdon): Create cert in keychain.
-
TODO(burdon): ini template for different profiles?
-
Install the App Configurator from the App Store.
-
Tether device via USB cable.
# Socket bug: need to create directory.
mkdir -p /Users/burdon/Library/MobileDevice/Provisioning\ Profiles
ssc build --platform=ios -p -c
ssc list-devices --platform ios
ssc install-app --platform iosTo view dependencies and build sizes using bundle buddy, upload pairs of javascript and source map files from
out/assets to https://bundle-buddy.com (via the rollup upload).
Note: experimental.
The app can be run using Docker.
docker run -it -p 80:80 dxos/composer-app:latest
MIT Copyright 2023 © DXOS