Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 430 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 430 Bytes

My study plan server

Compilation

Install the required libraries: pqxx, boost and cpprestsdk.

$ apt install libpqxx-dev libboost-dev libcpprest-dev

Compile with

$ make all

Usage

The server executable accepts two arguments:

  • address
  • port

Example of usage:

$ ./server http://localhost 9999

An environment variable DATABASE_URL should be defined with the URI of the database.