Speak about dashboard

This commit is contained in:
nemunaire 2019-07-05 18:36:20 +02:00
parent 3f99771910
commit 3104bf4e65
1 changed files with 11 additions and 5 deletions

View File

@ -47,19 +47,21 @@ If your are trying to use the folder available with the Owncloud service, make t
### Manual builds
Running this project requires a web server (configuration is given for nginx),
a database (currently supporting only MySQL), a go compiler for the revision
1.6 at least and a `inotify`-aware system.
a database (currently supporting only MySQL/MariaDB), a Go compiler for the revision
1.9 at least and a `inotify`-aware system.
1. First, you'll need to retrieve the dependencies:
go get -d srs.epita.fr/fic-server/admin
go get -d srs.epita.fr/fic-server/backend
go get -d srs.epita.fr/fic-server/dashboard
go get -d srs.epita.fr/fic-server/frontend
2. Then, build the three Go projects:
go build -o $GOPATH/src/srs.epita.fr/fic-server/fic-admin srs.epita.fr/fic-server/admin
go build -o $GOPATH/src/srs.epita.fr/fic-server/fic-backend srs.epita.fr/fic-server/backend
go build -o $GOPATH/src/srs.epita.fr/fic-server/fic-dashboard srs.epita.fr/fic-server/dashboard
go build -o $GOPATH/src/srs.epita.fr/fic-server/fic-frontend srs.epita.fr/fic-server/frontend
3. Before launching anything, you need to create a database:
@ -92,9 +94,13 @@ a database (currently supporting only MySQL), a go compiler for the revision
./fic-frontend &
This last server exposes an API that gives time synchronization to
clients and handle submission reception (but without treating
them).
This one exposes an API that gives time synchronization to clients and
handle submission reception (but without treating them).
./fic-dashboard &
This last server runs the public dashboard. It serves all file, without the
need of a webserver. It listens on port 8082 by default.
For the moment, a web server is mandatory to serve static files, look at the
samples given in the `configs/` directory.