From 4fdd01561fa58f52fac8cf99cc89fc820f7dbd32 Mon Sep 17 00:00:00 2001 From: prometheansacrifice <3097018+ManasJayanth@users.noreply.github.com> Date: Mon, 24 Jun 2024 16:44:24 +0530 Subject: [PATCH] Update Readme.md --- Readme.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Readme.md b/Readme.md index d07b9d0..60f3d61 100644 --- a/Readme.md +++ b/Readme.md @@ -6,3 +6,21 @@ So far, we wrote a hello world Dream server. 1. Install nightly build of `esy` with `npm i -g @esy-nightly/esy` 2. Run `esy` inside the project +3. Run `esy run-script dev` (similar to `npm run dev`) to run webpack dev server +4. Run `esy dune build -w` to build and watch all Dune targets +5. Run `esy x reason_india_website` to run the server. + +### Windows +> [!NOTE] +> On Windows, node_modules installation is still in alpha. While +> NPM dependencies are installed in node_modules, they're not +> available on $PATH. So, you'll have to use NPM/Yarn to run. +> This is only temporary. + +You'll need some additional steps, + +```pwsh +mkdir .\node_modules\.bin +cp .\_esy\default\bin\* .\node_modules\.bin\ +npm run dev +```