The prebuilt binary is currently only compiled for OSX (tested on Big Sur). To try on another OS, see the next section.
- Prerequisite: Node with
npx
command. - Clone this repo.
- cd ember-app
- npx mho
- visit localhost:8000
This will build everything including the third-party deps (a step you only need to run when you want to change the app's deps).
-
Install volta.
-
Install rust (see https://rustup.rs)
-
Clone this repo
-
yarn install
-
Start the build of the worker code:
cd worker; yarn start
-
Run the embroider build of the ember app.
cd ember-app; yarn ember build
-
Build the deps.
cd deps && yarn prepare
-
Build and run mho:
cd ember-app; yarn start:mho
When running the prebuilt demo, the mho
binary contains a prebuilt copy of all the worker code, and the ember-app contains an importmap.json
pointing at prebuilt dependencies on s3.
When running from scratch:
- running the ember build puts the stage2 build output into
./out-ember-app
. - building the deps reads from
./out-ember-app
and writes into/deps/dist
and./ember-app/importmap.json
- the worker builds into
./worker/dist
- we run
mho
with command line options telling it to use the worker code from./worker-dist
and serve the deps from./deps/dist
, and the importmap points at the files served from./deps/dist
switch to ember beta with no modules polyfill at all!
get test suite passing
finish addon-meta crawling for the other features that are still scaffolded
add Server Sent Events to the server to trigger page refresh