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
npxcommand. - 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-appand writes into/deps/distand./ember-app/importmap.json - the worker builds into
./worker/dist - we run
mhowith command line options telling it to use the worker code from./worker-distand 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