Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Banner

Gitter Build Status Open Source Helpers

haskell.do is a Haskell code editor, centered around interactive development. You can get it on the website.

Pull Requests are greatly appreciated, check out our contributing guidelines.

Building from source

The only 3rd-party requirements to build haskell.do are Stack and NodeJS (due to GHCJS).

git clone https://github.com/theam/haskell-do && cd haskell-do

stack setup --stack-yaml=client-stack.yaml to setup GHCJS (note that it isn't supported on Windows)

stack Build.hs -h for detailed usage of the build file.

stack Build.hs -a for building project.

stack Build.hs -r for running haskell.do on port 8080.

Docker-related

haskell-do can be executed within a Docker container. For convenience, the building and execution commands are provided within the Makefile.

NB : These instructions assume the user has already created a docker machine called "dev".

NB 2 : OSX users usually need to run the following command to configure VirtualBox in order to set up port forwarding:

VBoxManage modifyvm "dev" --natpf1 "tcp-port8080,tcp,,8080,,8080"

Once that is done, Docker can be configured and started:

docker-machine start dev

eval $(docker-machine env dev)

Then, the haskell-do image can be built and run:

make docker

make docker-run

If everything went well, it is now possible to point a browser to http://localhost:8080 and work with haskell-do.

Contributing

Would you like to contribute? Make sure that you've read our contributor guidelines. We'd like to hear from you and your ideas, get in touch with other contributors through:

You can’t perform that action at this time.