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