Skip to content

Latest commit

 

History

History
executable file
·
49 lines (39 loc) · 1.58 KB

INSTALL.md

File metadata and controls

executable file
·
49 lines (39 loc) · 1.58 KB

Development Setup

  1. Install VirtualBox and Vagrant

  2. Clone and run Scotch Box, a full-featured development environment for php

    git clone https://github.com/scotch-io/scotch-box.git SWIFACE
    cd SWIFACE
    vagrant up
    
    or
    
    mkdir SWIFACE
    cd    SWIFACE
    vagrant init ACASADO/SWiface
    vagrant up
    
  3. Clone SWIFACE repository into the webroot of the Scotch Box

    rm ./public/index.php
    git clone https://github.com/glidernet/SWiface-PHP public
    git clone https://github.com/glidernet/SWiface     public/main
    ln -s public html
    vagrant ssh
    # The following commands get executed in the vm
    do-release-upgrade
    cd /var/www/public/main
    bash install.sh
    cd ~/src
    bash SWlive
    
  4. Access your local SWIFACE instance at 192.168.33.10 On Silent Wings Studio: File->Browse JSON Events-> http://192.168.33.10

  5. (optional, for email debugging) Run MailCatcher, accessible at 192.168.33.10

    vagrant@scotchbox:~$ mailcatcher --http-ip=0.0.0.0
    composer update
    
  6. Review the installation

Testing setup

  1. For installing SWiface using a docker container, go to the dockerfiles directory and execute install.sh

  2. For installing SWiface on a VM machine, go to the provisioning directory and execute install.sh

----------------------------------------------------------------------------------------------------------------------------------------------