Notes on setting up a perforce (p4) server.
Follow the instructions in this video.
This is the link to the cloudformation template:
https://perforce-cf-templates.s3.amazonaws.com/releases/enhanced-studio-pack-latest.yaml
Once the cloudformation stack deploy has completed, get the P4CommitPublicIP
from the output of the cloudformation stack. You'll need this to connect to the server.
Set the value of P4PORT
environment variable to the following:
export P4PORT="ssl:<P4CommitPublicIP>:1666"
Use this value also to connect using P4V.
Default user is perforce
and the password is the value of HelixCodeInstanceID
from the stack outputs.
This video show perforce usage in game dev.
mkdir volcano
cd volcano
git init
git config git-p4.branchList "main:development"
git config --add git-p4.branchList "main:release_1.0.0"
git p4 clone --detect-branches //volcano@all .
git checkout -b main refs/remotes/p4/volcano/main
git checkout -b development refs/remotes/p4/volcano/development
git checkout -b release_1.0.0 refs/remotes/p4/volcano/release_1.0.0
git remote add origin https://github.com/robandpdx/p4-migrate-test6.git
git push -u origin main
git push --all origin