Commit a04654e0 authored by Efthymia Bika's avatar Efthymia Bika
Browse files

Update windows build README file

parent 1d2c5c3d
......@@ -2,13 +2,21 @@ BaaS Client installation build for Windows
I. Cygwin installation and setup
1. Download Cygwin setup.exe from https://www.cygwin.com/setup-x86_64.exe
Important: Place the setup file in the same directory as the installation scripts
Important: Place the setup file in the same directory as the installation scripts.
2. Execute install.bat
This will install Cygwin and prerequisite packages under .\build.
This will install Cygwin and prerequisite packages under .\build. It will also download
and install python-lockfile, duplicity and python-swiftclient.
II. Node.js
1. Install Node.js from https://nodejs.org/en/
2. Install nw-builder with npm install nw-builder -g
Important: npm3 is required. To update:
- cd %ProgramFiles%\nodejs
- npm -g install npm@latest
2. Install nw-builder : npm -g install nw-builder
III. Clone repo and build
1. Clone git repo git clone ssh://phab-vcs-user@phab.dev.grnet.gr:222/diffusion/BAAS/baas.git
1. git clone ssh://phab-vcs-user@phab.dev.grnet.gr:222/diffusion/BAAS/baas.git
2. cd into baas directory to install node-webkit : npm install nw
2. cd .. to build : nwbuild -p win64 -v 0.12.0 baas --buildDir <cygwin_installation_root_folder>
3. cd .. to build : nwbuild -p win64 -v 0.12.0 baas/
4. copy contents of build\baas\win64 folder into build directory
if not exist "%~dp0\build" mkdir %~dp0\build
if not exist "%~dp0\build\packages" mkdir %~dp0\build\packages
#.\setup-x86_64.exe -q -N -n -d -R %~dp0\build -l %~dp0\build\packages -s ftp://ftp.gabrys.biz/pub/cygwin -P python,gnupg,librsync-devel,librsync1,wget,python-setuptools,gcc-core,gcc
.\setup-x86_64.exe -q -N -n -d -R %~dp0\build -l %~dp0\build\packages -s ftp://ftp.gabrys.biz/pub/cygwin -P python,gnupg,librsync-devel,librsync1,wget,python-setuptools,gcc-core,gcc
%~dp0\build\bin\bash.exe %~dp0\install_duplicity.sh
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment