Skip to content
Erlang Distributed File System
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client
master
priv
test
worker
.gitignore
.travis.yml
LICENSE
README.md
TODO

README.md

eDFS

Erlang Distributed File System

Build Status

Dependencies

  • Erlang on unix machine
  • Rebar
  • make utility

How to Run

This guide shows how to run eDFS master, worker, client and test examples all at the same time on localhost. We begin with master-

$ pwd
/home/aman/Desktop/eDFS/master
$ make shell
(master@127.0.0.1)1> application:ensure_all_started(edfsm).

Run at least 3 workers by running following commands on 3 terminals-

$ pwd
/home/aman/Desktop/eDFS/worker
$ export PID=$$
$ export PORT=$PID
$ make shell
(worker16078@127.0.0.1)1> application:ensure_all_started(edfsw).

Run client as follows-

$ pwd
/home/aman/Desktop/eDFS/client
$ make shell
(client@127.0.0.1)1> application:ensure_all_started(edfsc).

Run test as follows-

$ pwd
/home/aman/Desktop/eDFS/test
$ make shell
(test@127.0.0.1)1> test:run("numbers.txt", 25000, ",").

see TODO file for more details.

Documentation

You can’t perform that action at this time.