stack-network

See README at https://github.com/McGizzle/stack-network#readme


Keywords
library, program, web, Propose Tags , Network.Distributed, Network.Distributed.Process, Network.Distributed.Transfer, Network.Distributed.Types, Network.Distributed.Utils, Cloud Haskell, pipes, Stack, Docker, Quasi-Quotes
License
BSD-3-Clause
Install
cabal install stack-network-0.1.0.1

Documentation

stack-network

Hackage

About

This is a program I built as part of my Final Year Project in College. The project is titled An Exploration into the Distribution of Stack in which I designed and tested a few approaches for distributing Stack. stack-network uses Cloud Haskell and pipes to efficiently transmit files between nodes on a network and thus minimise build times.

Testing

Prerequisites

Stack

Docker (installed and running)

docker pull mcgizzle/stack-network

stack test

This will run a number of scenarios created from docker-compose files embedded into the program using Quasi-Quotes.

Building & Running

stack build

Ensure you have a network.config file

net 
{
	host = "127.0.0.1"
	port = "5000"
}

Update the port and host as appropriate.

stack exec stack-network --help will list the options

To see the program in action it is suggested running it with Docker. I have provided an image that wil work with the tests and the docker-compose located in the project root.

Pull the image from Docker

docker pull mcgizzle/stack-network

Run this from the root of the project

docker-compose up