https://github.com/epost/urweb-nix-experiment
Ur/Web example project using Nix
https://github.com/epost/urweb-nix-experiment
nix urweb
Last synced: over 1 year ago
JSON representation
Ur/Web example project using Nix
- Host: GitHub
- URL: https://github.com/epost/urweb-nix-experiment
- Owner: epost
- Created: 2018-10-31T17:03:55.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-31T17:19:52.000Z (almost 8 years ago)
- Last Synced: 2025-02-08T07:11:52.509Z (over 1 year ago)
- Topics: nix, urweb
- Language: UrWeb
- Size: 0 Bytes
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ur/Web experiment
## Getting Ur/Web via Nix
Get `urweb` using https://github.com/grwlf/urweb-build:
```bash
cd ~/dev/3rdparty
git clone https://github.com/grwlf/urweb-build
export NIX_PATH="$NIX_PATH:urweb-build=/Users/erik/dev/3rdparty/urweb-build"
```
## Build the project
```bash
nix-shell -p urweb
```
From the `nix-shell` do:
```bash
urweb restaurant
./restaurant.exe
```
## Try it out
Open http://localhost:8080/Restaurant/main