GithubHelp home page GithubHelp logo

guoyu07 / raml-jstorage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ggrandes/raml-jstorage

0.0 0.0 0.0 19 KB

Persistent remote Storage for RAML API-Designer build on Java/Tomcat

License: Apache License 2.0

Shell 9.36% Java 60.72% HTML 3.34% JavaScript 26.58%

raml-jstorage's Introduction

RAML-JStorage

RAML-JStorage is a storage backend for RAML API Designer, built on Java to run in any Tomcat (rather than use the APIHub cloud service) with no more dependencies and still be able to collaborate designs. Project is Open source (Apache License, Version 2.0).

Current Stable Version is 1.0.2


DOC

Supported features

  • Put file
  • Get file
  • Delete file
  • Rename file
  • Sub directories
  • Hide dot begin dirs/files

Requirements

  • Java/OpenJDK 1.6 or above link
  • Apache Tomcat 7.0 or above link
  • RAML Api-Designer link

Automated Installation (Linux)

### Linux Packages
aptitude install wget unzip grep gawk openjdk-7-jre-headless
### RAML-JStorage
wget -qO - https://github.com/ggrandes/raml-jstorage/raw/master/linux/raml-install.sh | bash
  • Default instalation is in /opt/raml-jstorage/
  • RAML files are stored in ${RAML_HOME}/storage/ (configured as system property in ${RAML_HOME}/tomcat/bin/setenv.sh)
  • Tomcat is accessible in http://127.0.0.1:8080/raml-jstorage/
  • Start/Stop can be done with ${RAML_HOME}/tomcat/bin/catalina.sh [start|stop]

Manual Installation

  • Install Java
  • Install Tomcat
  • Download RAML-JStorage WAR file
  • Download RAML Api-Designer ZIP file
  • Install war in Tomcat webapp directory in (webapps/raml-jstorage.war)
  • Copy "dist/*" files of Api-Designer in webapps/api-designer/
  • Start tomcat
  • Copy webapps/raml-jstorage/index.html to webapps/api-designer/index.html
  • DONE

Configuration

RAML-JStorage only need directory path to store RAML files, this is configured with property name raml.jstorage.directory, that can be configured in System Property, System Environment, or file named raml-jstorage.properties (located in classpath)


Inspired in nodes.js raml-store, this code is Java-minimalistic version.

raml-jstorage's People

Contributors

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