I have success on getting pulp's helloworld purescript
running via nodejs
with following command sequences:
$ pulp init
...
$ pulp run
* Building project in /data/works/beta_projects/js_games/processing/hello-ps
* Build successful.
Hello sailor!
Next, I want to make the Hello sailor!
message in the browser in the body text by injecting it in the div
inner text
<html>
<body>
<div id="output" />
</body>
</html>
What are steps I need to do?
I try pulp server
command and got the blank page at http://localhost:1337/
without the need to provide index.html
and there is no any message in console.
There is pulp browserify
command that prints out the javascript which I expect to be included in the index.html
's script tag but I don't know where I need to put index.html
file.