Sha256: c091ea58015846f9859ee9340dde9f3ee325100f7ed4393eae3f979a62b57e87

Contents?: true

Size: 1009 Bytes

Versions: 59

Compression:

Stored size: 1009 Bytes

Contents

#!/usr/bin/env bash

# This script is used by the Vagrant file to provision the box

# Install server dependencies
sudo yum install -y epel-release
sudo yum install -y curl git java-1.8.0-openjdk-devel nodejs yum-utils gcc bzip2 kernel-devel dkms

# Install RVM and Ruby
su - vagrant -c 'gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3'
su - vagrant -c 'curl -sSL https://get.rvm.io | bash -s stable'
su - vagrant -c 'rvm 2.2.3 --install --default'

# Install bundler gem and bundle install
su - vagrant -c 'gem install bundler'
su - vagrant -c 'cd /home/vagrant/sync && bundle install'

# Create the test application
su - vagrant -c 'cd /home/vagrant/sync && rake engine_cart:generate'

# Output some instructions on what to do next
echo "
Now to start Solr and Blacklight run the following from within the Blacklight directory:

vagrant ssh
cd /home/vagrant/sync
rake blacklight:server[\"-b 0.0.0.0\"]

Now you can make changes to Blacklight and see the results.
"

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
blacklight-6.19.0 provision.sh
blacklight-7.0.0.rc2 provision.sh
blacklight-6.18.0 provision.sh
blacklight-6.17.0 provision.sh
blacklight-6.16.0 provision.sh
blacklight-6.15.0 provision.sh
blacklight-7.0.0.rc1 provision.sh
blacklight-6.14.1 provision.sh
blacklight-6.14.0 provision.sh
blacklight-6.13.0 provision.sh
blacklight-6.12.0 provision.sh
blacklight-6.11.2 provision.sh
blacklight-6.11.1 provision.sh
blacklight-6.11.0 provision.sh
blacklight-6.10.1 provision.sh
blacklight-6.10.0 provision.sh
blacklight-6.9.0 provision.sh
blacklight-6.8.0 provision.sh
blacklight-6.7.3 provision.sh
blacklight-6.7.2 provision.sh