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
- Put file
- Get file
- Delete file
- Rename file
- Sub directories
- Hide dot begin dirs/files
### 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]
- 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
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.