Running the game engine and interface on a server
Running the game engine
ssh
into the servergo to the cloned diplomacy folder (ALLAN-DIP/diplomacy) e.g.,
cd diplomacy
run
nohup python -m diplomacy.server.run &
Running the interface
ssh
into the server and go to the cloned foldercd diplomacy/web
pm2 start "npm start"
Restarting the server and interface
ssh
into the server and go to the diplomacy folderps -fA | grep python
and find the process idkill <process_id>
pm2 stop all
follow the steps for running the game engine and the interface
Last updated