GithubHelp home page GithubHelp logo

sufia-ready-vagrant's Introduction

sufia-ready-vagrant

Vagrant for Sufia and Fedora 4 Development

Components installed:

  • Solr
  • Fedora 4
  • MariaDB (No users are created yet, and install is not secured)
  • Redis
  • ImageMagick
  • Ruby
  • Fuseki
  • Fits
  • Sufia

Uses port forwarding:

http://localhost:38000 -> Port 80

http://localhost:33000 -> Port 3000 (Rails Server)

http://localhost:38080/solr -> Solr

http://localhost:38080/fcrepo/rest -> Fedora 4 REST API

http://localhost:33030 -> Fuseki

Fits is installed under /opt/fits. Solr and Fuseki should index the Fedora 4 repo automatically.


TODO:

  • Make vagrant provisioner install and start sufia
  • Create separate solr cores for dev, test, and production and update solr.yml.

Getting Started

Borrowed from https://github.com/projecthydra-labs/sufia-vagrant

First install all of the dependencies (Git, VirtualBox, Vagrant), then vagrant up your new development environment.

Install Git

To grab a copy of sufia-ready-vagrant, which is hosted on github.com, you'll need git, the distributed version control system. Here are instructions on installing git.

Install VirtualBox

You will also need VirtualBox installed to run the virtual machine that runs sufia-ready-vagrant. Download packages and installation instructions can be found at https://www.virtualbox.org/wiki/Downloads.

Install Vagrant

If you don't have Vagrant installed, here's how to remedy that:

  • Windows: follow the installation instructions on Vagrant's downloads page.
  • Mac: With homebrew brew tap phinze/cask; brew install brew-cask; brew cask install vagrant or follow the installation instructions on Vagrant's downloads page.
  • Linux: use your favorite package manager to install packages for vagrant.

Run sufia-ready-vagrant

$ git clone https://github.com/cudevmaxwell/sufia-ready-vagrant.git
$ cd sufia-ready-vagrant
$ vagrant up

On Windows, you can also use github for windows and run vagrant from within the git shell.

vagrant up will take some time to complete the first time you launch it -- no, really, maybe grab a cup of coffee and wait for this to complete!

Run sufia-ready-vagrant on AWS (Alternative to previous step)

$ vagrant up --provider=aws

You need to have your AWS credentials and configuration information exported to your environment for this to work.

export AWS_ACCESS_KEY=“XXXXXXXXXXXXXXXXXX"
export AWS_SECRET_KEY=“XXXXXXXXXXXXXXXXXXX”
export AWS_KEYPAIR_NAME=“XXXXXXXXXXXXXXXXXX"
export AWS_PRIVATE_KEY_PATH=“XXXXXXXXXXXXXXX”
export SUFIA_AWS_SECURITY_GROUPS=“XXXXXXXXXXXXXXXXXX"

Setup and start Sufia

After vagrant up completes, ssh into the vagrant machine and run /vagrant/sufia/setup.sh and /vagrant/sufia/start.sh to get sufia installed and started on port 3000.

sufia-ready-vagrant's People

Contributors

cudevmaxwell avatar mohideen avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.