README.md 1.64 KB
Newer Older
Efthymia Bika's avatar
Efthymia Bika committed
1 2 3 4
# BaaS

Backup as a Service

5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
## Build instructions 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. It will also download
        and install python-lockfile, duplicity and python-swiftclient.

II. Node.js
    1. Install Node.js from https://nodejs.org/en/
        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. 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
    3. cd .. to build :  nwbuild -p win64 -v 0.12.0 baas/
    4. copy contents of build\baas\win64 folder into build directory


Efthymia Bika's avatar
Efthymia Bika committed
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
## Copyright and license

Copyright (C) 2015 GRNET S.A.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.