Building and Running the Web App - SeanNesdoly/UniSpend GitHub Wiki

Building and Running the Wt Application on the lovelace server

tmux new -s unispend
cd /home/lovelace/unispend/build
sudo cmake ../
sudo make
./unispend.wt --docroot ../ --http-address lovelace.caslab.queensu.ca --http-port 8080
ctrl + b d (to exit tmux)

Killing a process that is running on port 8080: fuser -k 8080/tcp
Killing a tmux session with the name myname: tmux kill-session -t myname
List all active server connections: netstat -tulpn

Building and Running the Wt Application locally

cd lovelace/unispend
mkdir build
cd build
cmake ../
make
./unispend.wt --docroot . --http-address 0.0.0.0 --http-port 8080