Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reasonocamlindia/dream-web-server-sessions
Dream web server coded live at reason-bangalore.org sessions
https://github.com/reasonocamlindia/dream-web-server-sessions
ocaml reason
Last synced: 3 months ago
JSON representation
Dream web server coded live at reason-bangalore.org sessions
- Host: GitHub
- URL: https://github.com/reasonocamlindia/dream-web-server-sessions
- Owner: ReasonOCamlIndia
- Created: 2024-05-05T12:09:38.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-28T10:00:13.000Z (5 months ago)
- Last Synced: 2024-09-30T06:40:15.379Z (3 months ago)
- Topics: ocaml, reason
- Language: Reason
- Homepage: https://reason-bangalore.org/blog
- Size: 402 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Reason India Dream web servers
So far, we wrote a hello world Dream server.
## How to setup
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
```