项目作者: lagenorhynque

项目描述 :
phonetic quiz for language learners
高级语言: Clojure
项目地址: git://github.com/lagenorhynque/phoneq.git
创建时间: 2018-04-10T05:03:29Z
项目社区:https://github.com/lagenorhynque/phoneq

开源协议:

下载


phoneq

FIXME: description

Developing

Setup

When you first clone this repository, run:

  1. lein duct setup

This will create files for local configuration, and prep your system
for the project.

Next connect the repository to the Heroku app:

  1. heroku git:remote -a FIXME

Environment

To begin developing, start with a REPL.

  1. lein repl

Then load the development environment.

  1. user=> (dev)
  2. :loaded

Run go to prep and initiate the system.

  1. dev=> (go)
  2. :duct.server.http.jetty/starting-server {:port 3000}
  3. :initiated

By default this creates a web server at http://localhost:3000.

When you make changes to your source files, use reset to reload any
modified files and reset the server. Changes to CSS or ClojureScript
files will be hot-loaded into the browser.

  1. dev=> (reset)
  2. :reloading (...)
  3. :resumed

If you want to access a ClojureScript REPL, make sure that the site is loaded
in a browser and run:

  1. dev=> (cljs-repl)
  2. Waiting for browser connection... Connected.
  3. To quit, type: :cljs/quit
  4. nil
  5. cljs.user=>

Testing

Testing is fastest through the REPL, as you avoid environment startup
time.

  1. dev=> (test)
  2. ...

But you can also run tests through Leiningen.

  1. lein test

Copyright © 2018 FIXME