Server and Client implementation of an application that allows users to see and update timetables
344
A C++ application for managing train arrivals, departures and routes
For building the project, you will need the following packages to be installed:
libssl-dev neo4j-client libneo4j-client-dev qt5-default qtlocation5-dev libqt5location5-plugins
Install on Ubuntu with:
apt-get update && \
apt-get -y install software-properties-common && \
apt-get -y install g++ make wget cmake && \
add-apt-repository ppa:cleishm/neo4j && apt-get update && apt-get -y install libssl-dev neo4j-client libneo4j-client-dev && \
apt-get -y install qt5-default qtlocation5-dev libqt5location5-plugins
For the build step:
cmake -DCMAKE_BUILD_TYPE=RELEASE ./ && make
The RELEASE binalires should be in:
Before running the server we should setup the database first.
The database is available with docker. If you don't have docker installed then to install docker use:
curl -sSL get.docker.com | sudo sh
You may need to login and logout for the changes to take effect.
To run the database use:
docker run -d -p 127.0.0.1:7474:7474 -p 127.0.0.1:7687:7687 --name train_db quay.io/valiro21/fasttraindatabase
To run the server, from the root directory, use:
./Server/bin/RELEASE/FastTrainServer
After running the server, to run the client, from the root directory, use:
./Client/bin/RELEASE/FastTrainClient
Download the latest docker-compose from the github repo master branch valiro21/FastTrainService.
In the folder where you downloaded the above file use:
docker-compose up -d
We use git as versioning system and GitHub for releases, if any.
Content type
Image
Digest
Size
323.9 MB
Last updated
over 9 years ago
docker pull valiro21/fasttrainservice