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.25.0 provision.sh
blacklight-6.24.0 provision.sh
blacklight-6.23.0 provision.sh
blacklight-7.6.0 provision.sh
blacklight-7.5.1 provision.sh
blacklight-6.22.0 provision.sh
blacklight-7.5.0 provision.sh
blacklight-7.4.2 provision.sh
blacklight-7.4.1 provision.sh
blacklight-6.21.0 provision.sh
blacklight-7.4.0 provision.sh
blacklight-7.3.0 provision.sh
blacklight-7.2.0 provision.sh
blacklight-7.1.0 provision.sh
blacklight-7.1.0.alpha provision.sh
blacklight-6.20.0 provision.sh
blacklight-7.0.1 provision.sh
blacklight-6.19.2 provision.sh
blacklight-7.0.0 provision.sh
blacklight-6.19.1 provision.sh