Developer guide: Difference between revisions

From LPI Wiki
Jump to navigationJump to search
BenDupuis (talk | contribs)
BenDupuis (talk | contribs)
Line 7: Line 7:


Install perforce client from: http://www.perforce.com/downloads/helix<br/>
Install perforce client from: http://www.perforce.com/downloads/helix<br/>
sudo cp ~/Downloads/p4/usr/local/bin
sudo chomod +x usr/local/bin/p4
Create new perforce folder in Home directory.<br/>
Create new perforce folder in Home directory.<br/>
Create new file in this folder called .p4settings<br/>
Create new file in this folder called .p4settings<br/>

Revision as of 12:59, 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 chomod +x usr/local/bin/p4

Create new perforce folder in Home directory.
Create new file in this folder called .p4settings
Include in this file:

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

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