Implementation of 7GUIs tasks in PureScript.
Live preview is available here.
Install all dependencies of the project:
npm install
Add node_modules/.bin
to path:
export PATH="./node_modules/.bin:$PATH"
Alternatively, use direnv
:
echo "layout node" > .envrc
direnv allow
Install 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-shell
Otherwise, you can use direnv
as so:
echo "use nix" > .envrc
direnv allow
and you'll have a working development environment now and whenever you enter this directory again.
Bundle a project into an executable:
spago bundle-app
Open index.html
where bundled index.js
is imported:
xdg-open index.html
Or (on macOS):
open index.html