Coder Social home page Coder Social logo

archelon-vagrant's Introduction

archelon-vagrant

Vagrant box for running the Archelon application.

Prerequisites

fcrepo-vagrant

The fcrepo-search app depends on a solr service for functioning. Use the fcrepo-vagrant to bring up a solr instance.

The archelon.env is already configured to point to the IP address of the Solr VM included in the fcrepo-vagrant. The SOLR_URL property in this file can be changed to point to a different solr server if necessary.

Warning: Without a working SOLR_URL, Archelon will not function.

archleon

The archelon repo will be automatically checked out onto the host machine, if the vagrant finds that the /apps/git/archelon directory does not exist when you run vagrant up.

archleon-env

The archelon-env repo will be automatically checked out onto the host machine, if the vagrant finds that the /apps/git/archelon-env directory does not exist when you run vagrant up

Usage

> git clone [email protected]:umd-lib/archelon-vagrant.git
> cd archelon-vagrant
> vagrant up

Create a user account using a Rake task:

> vagrant ssh
> cd /apps/archelon/src
> rake 'db:add_admin_cas_user[your_directory_id, Your Name]' RAILS_ENV=vagrant

For full access to all features, add the hostnames archelonlocal and downloadslocal to your host machine's /etc/hosts file:

192.168.40.14 archelonlocal downloadslocal

You should now be able to access the Archelon app at https://archelonlocal

Details

Base box: peichman-umd/ruby (1.0.0) with:

  • CentOS 7.0 64-bit
  • RVM 1.26.11
  • Ruby 2.2.4
  • Rails 4.2.6

Installs the most recent version of Phusion Passenger (5.0.26 as of March 29, 2016). Configures Apache with mod_passenger to serve the Rails app found in /apps/archelon/src on port 80.

Also installs NodeJS and NPM, for compiling Javascript resources in Rails' asset pipeline. This relieves the need for the Rails app to include "therubyracer" or similar gems in its Gemfile.

License

See the LICENSE file for license rights and limitations (Apache 2.0).

archelon-vagrant's People

Contributors

dsteelma-umd avatar mohideen avatar peichman-umd avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.