Skip to content
No description or website provided.
Clojure
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src/leiningen
.gitignore
README.md
pom.xml.asc
project.clj

README.md

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.

Something went wrong with that request. Please try again.