Skip to content

code54/app-deploy-crate

 
 

Repository files navigation

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.1"]]

Releases

PalletCrate VersionRepoGroupId
0.8.0-beta.9 0.8.0-alpha.1 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.

About

A pallet crate to deploy and control applications

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Clojure 89.4%
  • Shell 10.6%