CrossClj

0.1.1 docs

SourceDocs



RECENT

    tangrammer/apit

    Clojars

    Feb 19, 2015


    OWNER
    Juan A. Ruz
    Seville, Spain
    juanantonioruz@gmail.com
    tangrammer.github.io/

    Readme

    Index of all namespaces


    « Project + dependencies

    A clojure webapp project

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

    Apit

    This is a [juxt/modular](https://github.com/juxt/modular, juxt/cylon (Oauth2 cleint), google Aouth2 provider

    Written to be deployed to GAE

    Deploy GAE

    clojure project configuration based on flowa.fi post

    ;; uncomment :aot :all in project.clj to deploy 
    lein clean
    lein ring uberwar
    unzip target/babel-0.1.0-SNAPSHOT-standalone.war -d target/war
    cp appengine-web.xml target/war/WEB-INF/
    appcfg.sh --oauth2 update target/war/
    
    
     (def refresh-token "1/DGLSKAIlChe1jPJB1dCGpE2BhX-a_EOr850Vhx3jnxg")
    (apply client/refresh-access-token ((juxt :authorize-uri :client-id :client-secret ) (-> system :webapp-oauth-client) ))
    
    

    Development

    For rapid development, use the REPL from the command line or via your favorite code editor.

    lein repl
    user> (dev)
    dev> (go)
    

    Copyright and License

    The MIT License (MIT)

    Copyright © 2014 Juan A. Ruz

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.