README.md 1019 Bytes
Newer Older
Loïck Bonniot's avatar
Loïck Bonniot committed
1 2 3 4 5
DFSS
====

> Distributed Fair Signing System

6 7 8 9 10 11 12 13 14
This repository contains source code for this INSA Rennes project (work in progress).

Configure workspace
-------------------

1. Install Go (>=1.5) and configure a Go workspace as [explained here](https://golang.org/doc/code.html#Organization)

2. Navigate under `$GOPATH/src` and clone this repository

15
3. Install build dependencies in `dfss/` directory
16 17

```bash
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
dfss/build/deps.sh
```

4. At this point, you will be able to install the DFSS project with some simple commands

- To install CLI applications:

```bash
go install dfss/dfssc # Client
go install dfss/dfssp # Platform
go install dfss/dfsst # TTP

# or

make install
```

- To build GUI for client into `bin/` directory (using docker image)

```
# You may have to run these commands as root due to docker (sudo won't work)

# Prepare docker image, one time only
make prepare_gui

# Build
make gui
45 46
```

47 48 49 50 51
Run dfss modules
----------------

```bash
dfssc help # Client
52 53
dfssp help # Platform
dfsst help # TTP
54
```