Skip to content

Compile in linux

Lekso Borashvili edited this page May 8, 2020 · 5 revisions

Tools

Install Qt 5.14.1, SQLite3

Install the following packages: cpprestsdk 2.10, boost 1.60, and openssl 1.0 (1.02.t)

With dnf on fedora

With apt-get on Debian/Ubuntu

Once done, go to QT Creator and open add project lafayette53.pro

Running the Server

Run the backend subproject's main.cpp file. If the website doesn't load, your build directory may not be a sibling of the source code directory. Copy your build directory over to the parent directory of your git repo (or source code directory).

If you attempt to run the project again while a server is already running, you will run into an error. To run the unit tests, you will first have to shutdown the server instance.

Viewing the Museum Wiki

1. QT GUI

Run the qtfrontend subproject while the server is running. You should see the home page.

2. Electron

Run the electron executable

3. Web Browser

Navigate to localhost:5300 on any web browser (Any Chromium based browser, Safari, and Firefox are supported).