Skip to content

2. Building Project

Sebastian Clavensjö edited this page Jan 20, 2022 · 11 revisions

1. Clone repository using git clone.

2. Navigate to the cloned folder.

3. Pull all submodules using git submodule update --init --recursive.

4. Go to build directory mkdir build && cd build .

5. Run CMake using cmake ...

6. Run make on the created Makefiles using make.

NOTE: To run the project use sudo ./api in "build" folder. To run it as a background task, run it with sudo ./api &. The way I use to exit a background task is pgrep api to get the process id, then sudo kill {process id}.

NOTE: To see if a service is running use the sudo service mysqld status.

Clone this wiki locally