Skip to content

DevResults/dxos-composer-standalone

Repository files navigation

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.

Development

To run the app with HALO.

pnpm -w nx run composer-app:serve

Native Bundling

The 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-app

Then, 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 5173

To reset the app, inspect and delete local storage properties.

iOS Development

  • 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 ios

Dependencies

To 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).

Docker

Note: experimental.

The app can be run using Docker.

docker run -it -p 80:80 dxos/composer-app:latest

License

MIT Copyright 2023 © DXOS

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages