User Tools

Site Tools


technical_notes:public:chocolatey-cloud-programming

Parent

Chocolatey - Cloud programming

Windows install

Use chocolatey to setup the environment, launch invit command :

choco-install.bat
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
packages-install.bat
choco install Console2
choco install PowerShell
choco install java.jdk
choco install notepadplusplus
choco install msysgit

Restart your computer to finish powershell installation. start console utility :

console
install-cloudbees.ps1
$env:path="C:\Program Files\7-Zip;$env:path"
$dirname="cloudbees-sdk-1.5.2"
$cloudbees_url="cloudbees-downloads.s3.amazonaws.com/sdk/${dirname}-bin.zip"
 
cd ~
Invoke-WebRequest -OutFile "${dirname}.zip" $cloudbees_url
7z x "${dirname}.zip"
mv "${dirname}/*" "${env:USERPROFILE}\AppData\Local\CloudBees"
Remove-Item "${dirname}.zip"
Remove-Item "${dirname}"

Batch Tp

Download tp.bat, and launch it.

tp.bat
set path=C:\Program Files (x86)\Notepad++;C:\Program Files (x86)\Git\bin;C:\Program Files\Java\jdk1.7.0_60\bin;%USERPROFILE%\AppData\Local\CloudBees;%PATH%
set bees_home=%USERPROFILE%\AppData\Local\CloudBees
console
technical_notes/public/chocolatey-cloud-programming.txt · Last modified: 2014/10/28 13:48 by Fabien Arcellier