Commit 9afc38a6 authored by Loïck Bonniot's avatar Loïck Bonniot

[build] Improve READMEs, shrink deployed binaries

parent 8687d74b
Pipeline #689 passed with stages
CHANGELOG
=========
v0.1.0
------
> 18/04/2016
#### CLI Client
- Add import command (!35)
- Add export command (!35)
- Add sign command, implement main protocol (!45)
- Add fetch command (!52)
- Ignore hostname verification in TLS (!34)
- Add support for direct IP connection, without using hostnames (!40)
- Add d flag for demonstrator activation (!55)
#### GUI Client
- Add gui binary for client (work in progress, !44)
#### Platform
- Add sequence generation (!36)
- Add signature ignition API (!41)
- Add ttp command (!43)
- Add fetch API (!51)
- Update d flag to use a string instead of boolean (!55)
#### TTP
- Add dfssp binary for TTP (!31, !39)
- Add naive Alert API (!56)
#### Demonstrator
- Add automatic sort of incoming messages (!42)
- Add gui interface for communication visualization (!46)
- Add open/save file (!47)
- Add play/pause/replay actions (!47)
- Add speed selection (!49)
- Add nogui flag (!46)
- Add port flag (!55)
#### Misc
- Use bytes instead of strings for hashes during network communications (!33)
- Add MIT license (!37)
- Use default connection timeout everywhere (30 seconds) (!54)
- Improve deployed binaries size by removing debug symbols
---
v0.0.2
------
> 29/02/2016
- Fix cross-compilation for unix targets
- Fix build error due to grpc upstream update
......@@ -56,15 +56,15 @@ release: clean build_x build_g package
build_x:
go get github.com/mitchellh/gox
gox -osarch "linux/amd64 linux/386 linux/arm windows/386 darwin/amd64" -parallel 1 -output "release/dfss_${VERSION}_{{.OS}}_{{.Arch}}/{{.Dir}}" dfss/dfssc dfss/dfssp dfss/dfsst
gox -ldflags "-s -w" -osarch "linux/amd64 linux/386 linux/arm windows/386 darwin/amd64" -parallel 1 -output "release/dfss_${VERSION}_{{.OS}}_{{.Arch}}/{{.Dir}}" dfss/dfssc dfss/dfssp dfss/dfsst
build_g:
cp $(GOPATH)/src/github.com/visualfc/goqt/bin/goqt_rcc /bin/
cp $(GOPATH)/src/github.com/visualfc/goqt/bin/lib* /lib/
cd gui && goqt_rcc -go main -o a.qrc.go application.qrc
cd dfssd/gui && goqt_rcc -go gui -o a.qrc.go application.qrc
cd gui && go build -ldflags "-r ." -o ../release/dfss_${VERSION}_linux_amd64/dfssc_gui
cd dfssd && go build -ldflags "-r ." -o ../release/dfss_${VERSION}_linux_amd64/dfssd
cd gui && go build -ldflags "-s -w -r ." -o ../release/dfss_${VERSION}_linux_amd64/dfssc_gui
cd dfssd && go build -ldflags "-s -w -r ." -o ../release/dfss_${VERSION}_linux_amd64/dfssd
cp /lib/libqtdrv.ui.so.1.0.0 release/dfss_${VERSION}_linux_amd64/libqtdrv.ui.so.1
package:
......
......@@ -42,8 +42,11 @@ make prepare_gui
# Build
make gui
make dfssd
```
Do not attempt to run `go install dfss/...` or `go install ./...`, it won't work due to graphic binaries.
Run dfss modules
----------------
......@@ -52,3 +55,11 @@ dfssc help # Client
dfssp help # Platform
dfsst help # TTP
```
For graphic clients, you may need to install some Qt4 libraries on your system.
```bash
cd bin
./gui # Client GUI
./dfssd # Demonstrator
```
......@@ -5,13 +5,13 @@ DFSS
Prerequisites
-------------
DFSS can run on the following platforms:
DFSS is distributed on the following platforms:
- Linux (amd64, i386 and arm)
- MacOS (amd64 and i386)
- Windows (amd64 and i386)
- MacOS (amd64)
- Windows (i386)
A running mongoDB database is required for the Platform module.
A running mongoDB database is required for the Platform and the TTP modules.
Installation (UNIX)
-------------------
......@@ -23,10 +23,14 @@ You just have to untar the archive and run the following binaries:
./dfssc help # Client
./dfssp help # Platform
./dfsst help # TTP
./dfssd help # Demonstrator
```
Here is a basic tutorial to setup a new DFSS environment.
On Linux-64 and Windows builds, two additional graphic binaries are included. You may need some Qt4 libraries on your system to run them.
```bash
./dfssc_gui # Graphic client
./dfssd # Demonstrator
```
### Setup platform and TTP (Trusted Third Party)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment