How do you setup a cloud server (digitalocean) with perforce and unreal engine 4 on a Mac

Hello,

We’ve set up a perforce server on one of our computers (we both have Macs, but our game was getting too large to handle. Now we bought a droplet server with digital ocean and want to setup Ue4 with perforce linked to the digital ocean server between the two of us. Since P4 is linked to the previous server, how would we set it up to read the new server? None of the P4 commands seem to work, I just get an "unable to connect, check $P4PORT, but can’t check $P4PORT as the Perforce command client doesn’t seem to be working in the Mac Terminal. I tried using a p4configure file, but couldn’t get it to work correctly. Is that how I would go about setting up perforce with unreal and our new server? Or would it better to Reinstall P4 Altogether? We have P4D, P4, and P4V.

Thanks