Developer guide: Difference between revisions

From LPI Wiki
Jump to navigationJump to search
BenDupuis (talk | contribs)
BenDupuis (talk | contribs)
Line 16: Line 16:
Include in this file: <br/>
Include in this file: <br/>
  P4PORT=p4.lpi.org:1666
  P4PORT=p4.lpi.org:1666
P4CLIENT=yourclient
  P4USER=youruser
  P4USER=youruser
  P4PASSWD=yourpassword
  P4PASSWD=yourpassword
P4CLIENT=yourclient


Edit .bashrc file to include:
Edit .bashrc file to include:

Revision as of 13:05, 22 October 2015

Introduction

This is a quick start guide.

Steps

Install perforce client from: http://www.perforce.com/downloads/helix

sudo cp ~/Downloads/p4 /usr/local/bin
sudo chmod +x /usr/local/bin/p4

Create new folder in Home directory.

mkdir -p p4/xamnet

Create new file in this folder called .p4settings
Include in this file:

P4PORT=p4.lpi.org:1666
P4USER=youruser
P4PASSWD=yourpassword
P4CLIENT=yourclient

Edit .bashrc file to include:

xamdev=/home/username/perforce/xamnet/dev/dev/pde/mojo
xamman=/home/username/perforce/xamnet/man/dev/pde/mojo
export P4CONFIG=.p4settings

Install docker:

sudo apt-get install docker

Add user to docker group:

usermod -a -G docker username