Public | Automated Build

Last pushed: 2 years ago
Short Description
build for livingwater
Full Description

How to setup your environment with gulp dependencies

Install Vagrant

  • $ wget
  • $ sudo dpkg -i vagrant_1.6.3_x86_64.deb

Install Virtualbox
copy command below on web page

  • $ sudo add-apt-repository -y “deb trusty contrib"
    Verify with fingerprint
  • $ gpg —with-fingerprint oracle_vbox.asc
    Go back to Linux_Downloads and copy the key fingerprint is:
    verify key
  • $ sudo apt-key add oracle_vbox.asc
  • $ sudo apt-get -y update
  • $ sudo apt-get -y install virtualbox-4.3 dkms

Test Install

vagrant -v
vboxmanage -v

Run Vagrant

cd into the living water repo

  • $ cd ./livingwater
  • $ vagrant up --provision

Once vagrant is up and provisioned ssh into vagrant

  • $ vagrant ssh
  • $ cd /vagrant/livingwater/

Run gulp

  • $ gulp

If you wish to run browser sync open a new terminal tab and make sure you are in the same directory as bs-config.js

  • $ browser-sync start

Create .bashrc file to automatically load directory on ssh

  • $ touch .bashrc

    $ nano .bashrc

    cd /vagrant/livingwater/

    ctrl x


Main IP

Live Reload requires you to run gulp

Browser sync requires you to run browser sync

Deploy Mobile App


  • Android Studio
  • Cordova (See installing Cordova)
  • Node 4.x+
  • Xcode 8+

###Installing Cordova
In order to build the mobile application you will need to install cordova
globally via npm.

$ npm install -g cordova

###Project Setup
In order to create the platforms directory, use the following command to
prepare the environment:

$ cordova prepare

This command will generate the require cordova project files as defined

  • platforms/ios
  • platforms/android
  • hooks/
  • plugins/

###Building the app
To prepare you application binaries, use the following command:

cordova build

this should generate the binaries in the following directories:

  • platforms/ios/build/emulator
Docker Pull Command
Source Repository