tvl-depot/website/sandbox/nut-score
William Carroll 6b224a9e31 Drop support for lorri
Lorri does not cleanly integrate with my corporate device, which cannot run
NixOS. To expose dependencies to Emacs buffers, I will use nix-buffer.el, which
reads its values from dir-locals.nix. To easily expose dependencies from my
existing shell.nix files into dir-locals.nix, I wrote a Nix utility function.
2020-03-27 10:59:50 +00:00
..
src Move nut-score into website/sandbox 2020-03-24 12:29:34 +00:00
.gitignore Move nut-score into website/sandbox 2020-03-24 12:29:34 +00:00
bsconfig.json Move nut-score into website/sandbox 2020-03-24 12:29:34 +00:00
index.html Move nut-score into website/sandbox 2020-03-24 12:29:34 +00:00
indexProduction.html Move nut-score into website/sandbox 2020-03-24 12:29:34 +00:00
package.json Move nut-score into website/sandbox 2020-03-24 12:29:34 +00:00
README.md Move nut-score into website/sandbox 2020-03-24 12:29:34 +00:00
UNUSED_webpack.config.js Move nut-score into website/sandbox 2020-03-24 12:29:34 +00:00
watcher.js Move nut-score into website/sandbox 2020-03-24 12:29:34 +00:00
yarn.lock Move nut-score into website/sandbox 2020-03-24 12:29:34 +00:00

Nut Score

I cloned most of this start boilerplate from github.com/BuckleScript/bucklescript by running the following:

$ cd ~/programming
$ git clone git@github.com:BuckleScript/bucklescript
$ cp -R ./jscomp/bab/templates/react-hooks ~/briefcase/nut-score

Installing

$ nix-shell
$ yarn install

Developing

In one shell run:

$ nix-shell
$ yarn server

In another shell run:

$ nix-shell
$ yarn start

Now open a web browser and visit localhost:8000.