Commit 1ad774c0 authored by Efthymia Bika's avatar Efthymia Bika
Browse files

Add scripts for Windows installation build

parent c15f211f
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
2. Execute install.bat
This will install Cygwin and prerequisite packages under .\build.
II. Node.js
1. Install Node.js from https://nodejs.org/en/
2. Install nw-builder with npm install nw-builder -g
III. Clone repo and build
1. Clone git repo 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>
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
%~dp0\build\bin\bash.exe %~dp0\install_duplicity.sh
#!/bin/bash
cd ./build
export PATH=/usr/bin/:$PATH
wget https://pypi.python.org/packages/source/l/lockfile/lockfile-0.11.0.tar.gz#md5=494b449935f95f0f62e621b5f52640f8
gunzip lockfile-0.11.0.tar.gz
tar -xvf lockfile-0.11.0.tar
cd lockfile-0.11.0
python setup.py install
cd ..
wget https://code.launchpad.net/duplicity/0.6-series/0.6.26/+download/duplicity-0.6.26.tar.gz
gunzip duplicity-0.6.26.tar.gz
tar -xvf duplicity-0.6.26.tar
cd duplicity-0.6.26
python setup.py install
easy_install-2.7 pip
pip install python-swiftclient
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