/OwlVagrant

Primary LanguageShell

OwlVagrant - developing the OwlServer project on a Vagrant VM

Usage:

  • Install VirtualBox.
  • Install Vagrant.
  • Install the vagrant-vbguest plugin (on Debian based systems, you will need to install the package ruby-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 (see data/README.md for details).
  • Start Vagrant:
vagrant up
  • Edit your hosts file to point staging.hoxtonowl.com at 192.168.50.4, e.g. on OSX: sudo nano /etc/hosts and add a new line with 192.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...