GithubHelp home page GithubHelp logo

mohideen / umd-handle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from umd-lib/umd-handle

0.0 1.0 0.0 440 KB

REST-based Handle back-end service with administrative user interface

Ruby 72.97% JavaScript 5.13% HTML 18.86% SCSS 3.03%

umd-handle's Introduction

umd-handle

REST-based Handle back-end service with administrative user interface.

Introduction

This application provides:

  • a REST backend for resolving Handle.Net Registry handles to URLs.
  • an HTTP-based user interface for administering handle to URL mappings
  • a REST-based API interface for administring handle to URL mappings

Quick Start

Prerequisites:

Due to the use of the "mimemagic" gem, install the "shared-mime-info" database:

> brew install shared-mime-info

See:

Requires:

  • Ruby 2.7.2
  • Node.js v8.16.0 or greater
  • Yarn v1.22.0 or greater
> git clone [email protected]:umd-lib/umd-handle
> cd umd-handle
> bundle install --without production
> yarn
> rails server

http://localhost:3000/

Docker.ci and Jenkinsfile

The "Dockerfile.ci" file is used to encapsulate the environment needed by the continuous integration (ci) server for building and testing the application.

The "Jenkinsfile" provides the Jenkins pipeline steps for building and testing the application.

umd_lib_style gem

This application uses the "umd_lib_style" gem to provide a UI look-and-feel similar to other UMD Rails applications.

The "umd_lib_style" gem is not currently configured to support the use of webpacker, and it is currently unclear how to incorporate the JavaScript dependencies from the Rails engine gem into a Rails application that uses that gem.

Therefore, this application has been configured to load the necessary JavaScript dependencies required by Bootstrap v3 in its own "package.json" file, and is using a custom "app/views/layouts/_umd_lib.html.erb" file, replacing the javascript_include_tag directive with javascript_pack_tag.

Rake Tasks

Populates the database with sample data

> rails db:populate_sample_data

Drop, create, migrate, seed and populate sample data

> rails db:reset_with_sample_data

umd-handle's People

Contributors

dsteelma-umd avatar

Watchers

 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.