-
Notifications
You must be signed in to change notification settings - Fork 12
DevEnvironment
Guiran Patrick edited this page Aug 8, 2011
·
9 revisions
Here are intructions to setup a devel environment (short version) :
git clone git://github.com/Tauop/sshGate.git # 1. clone sshGate repository git submodule update --init # .. and submodule ./build.sh # 2. build the server package cp package.tar.gz /tmp # 3. copy package cd /tmp && tar zxvf package.tar.gz # 4. untar package cd package-dir/ && sudo ./install.sh # 5. install sshGate
Here is an example session of those actions :
tauop@Tauopbox:/tmp$ git clone git://github.com/Tauop/sshGate.git [.. git output ..] tauop@Tauopbox:/tmp$ cd sshGate tauop@Tauopbox:/tmp/sshGate$ git submodule init && git submodule update [.. git output ..] tauop@Tauopbox:/tmp/sshGate$ ./build.sh sshgate version ? 0.2 (version must be >0.2) sshGate build number ? 001 (this number is not important) Include ScriptHelper in package ? y (reply 'y' if you haven't installed ScriptHelper on your system) tauop@Tauopbox:/tmp/sshGate$ cp sshGate-server-0.2-001.tar.gz /tmp tauop@Tauopbox:/tmp/sshGate$ cd /tmp tauop@Tauopbox:/tmp$ tar zxvf sshGate-server-0.2-001.tar.gz [.. tar output ..] tauop@Tauopbox:/tmp$ cd sshGate-server-0.2-001/ tauop@Tauopbox:/tmp/sshGate-server-0.2-001$ sudo ./install.sh # see [[sshGate-server: Installation|Installation]]
To update :
git pull # 1. update git repositories ./build.sh # 2. build the server package cp package.tar.gz /tmp # 3. copy package cd /tmp && tar zxvf package.tar.gz # 4. untar package cd package-dir sudo ./uninstall.sh # 5. (optional) To test installation process (ALL data will be lost) sudo ./install.sh # 6. install new version of sshGate