Perforce for Version Control:
This project is about setting up Perforce for independent development.
Use Case: Perforce is good for Version control with binaries, it has to be self-hosted. It can be hosted on-prem or in the cloud. For this project it will be hosted on-prem with a VM. Similar practice can be applied to the cloud.
Why not Github or Git + LFS: I have tried these options and there are limiations such as:
- File size limits for binaries
In order to get this setup the following had to be setup:
- Designate a VM as a server
- Install Perforce on a server VM
- install client on test machine
- open up firewall rules to allow connections to perforce server
- setup example workspace
- setup example user to connect to perforce workspace
- Setup Game Engine
- Integrate Game Engine with Perforce
- Setup CD software such as jenkins to create automatic builds of the game
Lessons Learned:
- Setting up firewall rules to control access to perforce is necessary
References: