⚠️ ⚠WARNING⚠️ ⚠: This repository has been deprecated. All activity for this codebase has moved to the repo: https://github.com/cardstack/boxel-motion
- you will want the Glint vscode extension
- this project uses pnpm for package management. run
pnpm install
to install the project dependencies first.
host
is the ember app
worker
is a separate build for the service worker that serves a realm
realm-server
is a node app that serves the realm as an HTTP server
The top-level of the monorepo contains typescript & glint setting for the ember app, because Glint doesn't like monorepos.
In order to run app
pnpm start
in the worker/ workspace to build the service workerpnpm start
in the host/ workspace to serve the ember apppnpm start:base
in the realm-server/ to serve the base realm (alternatively you can usepnpm start:test-realms
which also serves the base realm--this is convenient if you wish to switch between the app and the tests without having to restart servers)
The app is available at http://localhost:4200. Click on the button to connect to your Local Realm, and then select the "cards/" folder within this project. Click "Allow" on the popups that ask for the ability to read and write to the local file sytem.
There are currently 2 test suites: the host/ workspace tests and the realm-server/ workspace tests.
To run the host/
workspace tests start the following servers:
2. pnpm start:test-realms
in the realm-server/
to serve both the base realm and the realm that serves the test cards
3. pnpm start
in the host/
workspace to serve ember
The tests are available at http://localhost:4200/tests
To run the realm-server/
workspace tests start:
pnpm start:test-realms
in therealm-server/
to serve both the base realm and the realm that serves the test cards for node.
Run pnpm test
in the realm-server/
workspace to run the realm tests