dharmamike / lorry-ui

Docker Compose YAML Editor

Home Page:https://lorry.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lorry

Lorry is a project from the team at CenturyLink Labs. This utility provides a browser-based validator and builder for Docker Compose YAML files. A docker-compose.yml can be imported or built from scratch. You can even import Panamax templates and convert them to docker-compose.yml files.

The initial import and subsequent modifications of a document triggers validation against a YAML schema derived from the latest Compose documentation. The utility differentiates between errors which prevent the application defined in the docker-compose.yml from being stood up with Compose and warnings which simply point out things in the document that might not be what you want.

The Lorry project will make creating docker-compose.yml files easier with its user-friendly interface that provides documentation for Compose options and limits choices of keys to those specified in the docker-compose.yml reference.

Once you're done crafting the docker-compose.yml, Lorry makes it simple to save your document as a file, copy it to the clipboard, and even share it with others as a Gist or with a Lorry URL for collaborative editing.

Usage

You can access the hosted version of Lorry at lorry.io. For local development, the lorry-ui project requires services provided by the Lorry API. The Lorry API must be available in order for the Lorry UI to function.

Building & development

This project was generated with yo angular generator version 0.11.0.

Setup

  • install node

  • install Yeoman with npm install -g yo

  • install the Grunt cli with npm install -g grunt-cli

  • install Bower with npm install -g bower

  • install the Yeoman AngularJS generator with npm install -g generator-angular

  • git clone this repo

  • install Ruby if you don't already have it

  • install compass with gem install compass

  • install local node modules with npm install

  • install local JS modules with bower install

Execution

Run grunt for building and grunt serve for preview.

Testing

Running grunt test will run the unit tests with karma.

Environment configuration

By default, the application will assume you are running, testing, or building in development mode. If you want to change that for some reason, you can set a 'LORRY_ENV' environment variable to 'develop', 'qa', or 'production'.
It is this environment variable that will determine which of the config files in the '/config' directory are used when the grunt task generates the app.js file.

About

Docker Compose YAML Editor

https://lorry.io

License:Apache License 2.0


Languages

Language:JavaScript 74.8%Language:CSS 9.3%Language:HTML 9.3%Language:ApacheConf 6.2%Language:Nginx 0.3%Language:Shell 0.1%