Skip to content

cardstack/runtime-spike

Repository files navigation

Rough work-in-progress

⚠️⚠WARNING⚠️⚠: This repository has been deprecated. All activity for this codebase has moved to the repo: https://github.com/cardstack/boxel-motion

Setup

  • you will want the Glint vscode extension
  • this project uses pnpm for package management. run pnpm install to install the project dependencies first.

Orientation

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.

Running the App

In order to run app

  1. pnpm start in the worker/ workspace to build the service worker
  2. pnpm start in the host/ workspace to serve the ember app
  3. pnpm start:base in the realm-server/ to serve the base realm (alternatively you can use pnpm 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.

Running the Tests

There are currently 2 test suites: the host/ workspace tests and the realm-server/ workspace tests.

Host

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

Realm Server

To run the realm-server/ workspace tests start:

  1. pnpm start:test-realms in the realm-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

About

Spiking out newer cardstack modules runtime

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published