Implementation of 7GUIs tasks in PureScript.
Live preview is available here.
Install all dependencies of the project:
npm installAdd node_modules/.bin to path:
export PATH="./node_modules/.bin:$PATH"Alternatively, use direnv:
echo "layout node" > .envrc
direnv allowInstall Nix following the instructions on the Nix website.
To enter a development environment, simply open a terminal on the project's root and use below command to get a bash shell:
nix-shellOtherwise, you can use direnv as so:
echo "use nix" > .envrc
direnv allowand you'll have a working development environment now and whenever you enter this directory again.
Bundle a project into an executable:
spago bundle-appOpen index.html where bundled index.js is imported:
xdg-open index.htmlOr (on macOS):
open index.html