Skip to content

mysema/lein-jelastic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lein-jelastic

A Leiningen plugin for Jelastic.

Configuration

To use lein-jelastic add the following configuration to your project.clj file.

:plugins [[lein-jelastic "0.1.2"]]

:jelastic {:apihoster "app.jelastic.provider.com"
           :email "your@mail.com"
           :password "XXXXXXXX" 
           :environment "myapp"
           ; Optionals 
           ; :context "mycontext"
           ; Custom filename can be set for example to match ring uberwar output
           ; :custom-filename (fn [proj]
           ;                    (str (:name proj) "-" (:version proj) "-STANDALONE")) 
           }

As storing user and password information in the project directly is generally not so good idea, you can store sensitive information in your ~/.lein/profiles.clj file.

{:user {:jelastic {:email "your@email.com" :password "XXXXXXX"}}}

Upload

Upload current target to jelastic

$ lein jelastic upload

Deploy

Upload and deploy current target

$ lein jelastic deploy

License

Copyright © 2013 Mysema

Distributed under the Eclipse Public License, the same as Clojure.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published