CrossClj

0.1.2 docs

SourceDocs



RECENT

    lein-jelastic

    Clojars

    Aug 13, 2013


    OWNER
    Mysema
    Helsinki, Finland
    www.mysema.com

    Readme

    Index of all namespaces


    The README below is fetched from the published project artifact. Some relative links may be broken.

    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.