我是斯卡拉的新手。我正试着得到这个真正的从Matthias Nehlsen到work的有趣例子 - github源。
我确认我得到的twitter数据是正确的(激活程序运行)。但是,我没有得到生成的公共资产:
http://hostname:9000/angular/给我这404:
http://hostname:9000/assets/build/angular/birdwatch.js
http://hostname:9000/#为此给我404:
http://hostname:9000/assets/build/react-js/birdwatch.js我使用的是typesafe-activator 1.2.3,使用的是“激活器运行”
BirdWatch% activator run
[info] Loading project definition from ~/git/BirdWatch/project
[info] Set current project to BirdWatch (in build file:~/git/BirdWatch/)
--- (Running the application from SBT, auto-reloading is enabled) ---
[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:9000
(Server started, use Ctrl+D to stop and go back to the console...)
[info] a.e.s.Slf4jLogger - Slf4jLogger started
[info] application - Starting new client在开始时(忘记添加,在清洁后):
Compiling 13 Scala sources and 1 Java source to ~/git/BirdWatch/target/scala-2.10/classes...
[warn] /Users/NathanDunn/git/BirdWatch/conf/routes:6: unreachable code
[warn] GET /cljs-dev/ controllers.BirdWatch.indexCljs
[warn] /Users/NathanDunn/git/BirdWatch/conf/routes:9: unreachable code
[warn] GET /cljs/ controllers.BirdWatch.indexCljsOpt
[warn] two warnings found我认为这只是表明前一个模式包含了后者。
发布于 2014-08-26 22:51:35
你需要建立客户。
引用提交人的话:
不同的客户端位于客户端/文件夹中,每个客户端都需要构建才能工作。客户端构建构件不再被签入git存储库,以避免库大小的膨胀。
看看他们给我读的文件:
您需要Node.js、Grunt和Bower来构建棱角客户端。
https://github.com/matthiasn/BirdWatch/tree/master/clients/angular
https://github.com/matthiasn/BirdWatch/blob/master/clients/react-js
https://stackoverflow.com/questions/25109731
复制相似问题