- What is Perforce?
- Want to play with Perforce? Download
P4P is perforce proxy. P4V is mainly used as GUI client in UNIX machines, but it can also be used in Windows.
- How to start a Perforce Server?
mkdir $HOME/p4bin. Put P4, P4d and P4V to here and add this directory to your path
mkdir $HOME/p4server
mkdir $HOME/p4workspace
Make the programs in $HOME/p4bin executable
Starting the Perforce server:
p4d -d -p 1666 -r $HOME/p4server
where -d suggests to run server as daemon
-p tells port number
-r set server root directory
In Windows:
Install p4win
Start Perforce server p4d.exe as
./p4d.exe -d -q -p 1777 -r . -L ./log &
where -q suggests quiet (suppress start up messages)
-L sets error Log
- Terminologies used in Perforce
Client: Your private workspace to download files from Depot and to play with it
Sync: Get code from depot to client
Edit: Check out
Submit: Check in
- Creating a Perforce client