Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
baas
Commits
a04654e0
Commit
a04654e0
authored
Oct 20, 2015
by
Efthymia Bika
Browse files
Update windows build README file
parent
1d2c5c3d
Changes
2
Hide whitespace changes
Inline
Side-by-side
static/scripts/windows/README
View file @
a04654e0
...
...
@@ -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
static/scripts/windows/install.bat
View file @
a04654e0
if
not
exist
"
%~dp0
\build"
mkdir
%~dp0
\build
if
not
exist
"
%~dp0
\build\packages"
mkdir
%~dp0
\build\packages
#
.\setup
-x
86
_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
-x
86
_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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment