Git Product home page Git Product logo

app-deploy-crate's Introduction

Repository · Issues · API docs · Annotated source · Release Notes

A pallet crate to install and control applications.

Dependency Information

:dependencies [[com.palletops/app-deploy-crate "0.8.0-alpha.2"]]

Releases

PalletCrate VersionRepoGroupId
0.8.0-beta.10 0.8.0-alpha.2 clojars com.palletops Release Notes Source

Usage

The server-spec function provides an easy way to deploy and control an application. It takes a map of options specifying the application artifact sources and destinations, etc. The name of the service for the application, and the install directory under :app-root are both taken from the :instance-id keyword.

The options are as described in the settings function.

The deploy phase deploys using the first defined deploy method by default, but can be passed an argument to specify the artifact source, as either :from-lein or :from-maven-repo.

To control the application, start, stop and restart phases are defined, as well as instacnce specific start-<instance-id>, stop-<instance-id> and restart-<instance-id>.

The default supervision is with runit.

Acknowledgments

This crate is based on work for 313 Ventures, that was released under the EPL license. Many thanks to 313 Ventures.

License

Copyright © 2013 Hugo Duncan

Distributed under the Eclipse Public License.

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.