Coder Social home page Coder Social logo

house's Introduction

house

与买房相关的种种

Usage

git clone https://github.com/xumingming/house.git
cd house
lein ring server

License

Copyright © 2013 xumingmingv

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

house's People

Contributors

xumingming avatar

Stargazers

JY-H avatar  avatar  avatar  avatar Henry.H avatar DarkSun avatar Angus H. avatar Jeff M avatar zjc avatar  avatar Liu Zhou avatar Steven avatar Akuma avatar HaoLin avatar

Watchers

 avatar James Cloos avatar

house's Issues

code bug

house.handler里的
(:require [loan.core :refer :all])

应该改为
(:require [house.loan :refer :all])

执行lein ring server出现错误?

我本机的环境是
os = win7
jdk = jkd7/jkd6
lein = 1.5.2 / 1.7.1 /2.00
我试过jdk6还有jdk7 试过lein的不同版本,且确保安装没问题
但执行lein ring server出现
Exception in thread "main" java.lang.Exception: EOF while reading (project.clj.....
这样的错误,不知阁下能否帮我解答下问题?

代码如何被执行的?

(server/load-views-ns 'zk-web.pages)

(defn -main [& m]
(let [mode (keyword (or (first m) :dev))
port (:server-port (conf/load-conf))]
(server/start port {:mode mode :ns 'zk-web})))

上面两段代码是怎么被执行的?-main方法应该是程序入口,先执行,那(server/load-views-ns 'zk-web.pages) 这句代码是什么时候执行的呢?

clojure入门菜鸟希望能解答下!跪谢。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.