AAU GIRAF project, database server and synchronization
Group: SW603F13
Office: 5.1.16
Authors:
Barbara Albertine Flindt
Simon Jensen
Hilmar Laksa Magnussen
Jeppe Blicher Tarp
Pre-requisites:
MySQL Connector/C
- Download from MySQL
- Headers in /usr/local/include
- Libs (libmysql.so etc.) in /usr/local/lib
JsonCPP
- Install instructions found here
- Headers in /usr/local/include
- Libs (renamed to libjson.so, libjson.a) in /usr/local/include
Add line /usr/local/lib to /etc/ld.so.conf and run sudo ldconfig
Unit tests require BOOST installed
Building the program:
cd to source/server
run make all
run ./serverapp
Now the server is running. Type stop
to exit.
Running the unit tests:
cd to source/server
run make test
run ./test_connection
, ./test_api
or ./test_database
Database unit test requires a database called giraf
accessible by user giraf
@localhost
identified by 123456
.
Connection unit test requires right to open listening sockets and ports 1238
and 1239
to be free.
The report content is freely available, but publication (with source), only after agreement with the authors.
GIRAF Database's source code is released under the GPLv3 open source license. This means that you are free to inspect the source code at any time or contribute to the project yourself.