Usage:
- Install VirtualBox.
- Install Vagrant.
- Install the
vagrant-vbguest
plugin (on Debian based systems, you will need to install the packageruby-dev
for this to work, e.g.apt-get install ruby-dev
):
vagrant plugin install vagrant-vbguest
- Clone this repository:
git clone https://github.com/pingdynasty/OwlServer.git OwlVagrant/
- Clone OwlServer into an adjacent directory called 'OwlServer':
git clone https://github.com/pingdynasty/OwlServer.git OwlServer/
- Add the required files to the
OwlVagrant/data
directory (seedata/README.md
for details). - Start Vagrant:
vagrant up
- Edit your hosts file to point
staging.hoxtonowl.com
at192.168.50.4
, e.g. on OSX:sudo nano /etc/hosts
and add a new line with192.168.50.4 staging.hoxtonowl.com
- Build the JavaScript project:
cd ../OwlServer/web/owlspa
npm install
npm run builddev
- SSH into the guest machine and start the OWL API:
you@yourbox$ vagrant ssh
vagrant@ulrike:~$ sudo /etc/init.d/owl-api start
Starting owl-api...
- Browse to https://staging.hoxtonowl.com/patch-library (allow the insecure certificate) and make sure the patch library page loads correctly.