You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[pnpm](https://docs.volta.sh/advanced/pnpm) Note: If you don't have pnpm already on your system, **DON'T** install pnpm manually (volta will install it for you when you call `pnpm install`).
Copy file name to clipboardExpand all lines: README.md
+7-8
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# Boxel Runtime
2
2
3
+
For a quickstart, see [here](./QUICKSTART.md)
4
+
3
5
## Setup
4
6
5
7
- you will want the [Glint](https://marketplace.visualstudio.com/items?itemName=typed-ember.glint-vscode) vscode extension
@@ -23,12 +25,14 @@
23
25
24
26
`packages/boxel-motion-test-app` is the test suite for boxel-motion
25
27
26
-
`packages/boxel-motion-demo-app` is the demo app for boxel-motion
28
+
`packages/boxel-motion/test-app` is the demo app for boxel-motion
27
29
28
30
`packages/matrix` is the docker container for running the matrix server: synapse, as well as tests that involve running a matrix client.
29
31
30
32
`packages/ai-bot` is a node app that runs a matrix client session and an OpenAI session. Matrix message queries sent to the AI bot are packaged with an OpenAI system prompt and operator mode context and sent to OpenAI. The ai bot enriches the OpenAI response and posts the response back into the matrix room.
31
33
34
+
To learn more about Boxel and Cards, see our [documentation](./docs/README.md)
35
+
32
36
## Running the Host App
33
37
34
38
There exists a "dev" mode in which we can use ember-cli to host the card runtime host application which includes live reloads. Additionally, you can also use the realm server to host the app, which is how it will be served in production.
@@ -81,7 +85,6 @@ Instead of running `pnpm start:base`, you can alternatively use `pnpm start:all`
81
85
| :5001 | Mail user interface for viewing emails sent to local SMTP | ✅ | 🚫 |
82
86
| :8008 | Matrix synapse server | ✅ | 🚫 |
83
87
84
-
85
88
#### Using `start:development`
86
89
87
90
You can also use `start:development` if you want the functionality of `start:all`, but without running the test realms. `start:development` will enable you to open http://localhost:4201 and allow to select between the cards in the /base and /drafts realm.
@@ -136,12 +139,8 @@ First you must create an administrative user:
Alternatively, you can execute `pnpm register-test-admin` and utilize the following credentials: `user: admin` and `password: password`.
139
-
3. Run the docker container:
140
-
```
141
-
docker run --name synapse-admin -p 8080:80 -d awesometechnologies/synapse-admin
142
-
```
143
142
144
-
After you have created an administrative user and have created the docker container you can start the admin console by executing the following in the packages/matrix workspace:
143
+
After you have created an administrative user and can start the admin console by executing the following in the packages/matrix workspace:
145
144
146
145
```
147
146
pnpm start:admin
@@ -173,7 +172,7 @@ There is a ember-freestyle component explorer available to assist with developme
The following VS Code addon helps to visualize a .mermaid file: https://marketplace.visualstudio.com/items?itemName=tomoyukim.vscode-mermaid-editor
2
7
3
8
It also has a feature to save an .svg image, which be opened in Chrome for a decent pan and zoom experience.
9
+
10
+
## Concepts
11
+
12
+
The following are important concepts:
13
+
14
+
-[Card and Field Definition Relationships](card-def-field-def-relationships.md): There is a subtle distinction between card and fields to consider when creating cards.
15
+
-[Inheritance](card-inheritance.md): Cards can be extended based upon user's custom needs -- no reinventing the wheel.
16
+
-[Rendering](card-rendering.md): Cards can be rendered easily in the browser. Each card renders differently based upon how it is related and what context it exists in.
17
+
-[Serialization and Deserialization](card-serialization-deserialization.md): Cards have to be adapted to a consistent JSON format before being sent over-the-wire to other consumers.
18
+
-[Computed Fields](computed-fields.md): Computed fields work too! We can compute on the data that is already contained in a card to build more complex logic.
19
+
-[Indexing](indexing.md): Indexing powers the re-rendering of cards when it's dependencies get updated.
20
+
-[Realm](realm.md): Realms are storage for cards that have their own underlying permissions and indexer.
21
+
-[Search](search.md): Every Card is searchable within and across realms.
0 commit comments