This is the repository for the workshop Introduction to PureScript, at PureScript Conf 2017 in Boulder, Colorado.
Here, you will find slides, source code, and instructions on preparing your computer for the workshop!
First, you should download the contents of this repository to your computer. Then proceed to the following steps.
npm is a package manager that can be used to install many Javascript and PureScript tools. You can download the package manager here:
You should install the PureScript compiler and command-line tools.
npm install -g purescript
Pulp is a build tool for PureScript that makes it easy to build projects.
npm install -g pulp
Bower can download PureScript dependencies.
npm install -g bower
This installs the PureScript dependencies specified in bower.json
.
bower install
This runs the build process, which will generate a game.js
.
pulp build --to game.js
On Mac OS X:
open game.html
On other platforms, manually open the file game.html
.