Skip to content

Flexiana/tradeshift-task

Repository files navigation

Tradeshift task

Dependencies Status License

Installation

Requirements

  • Java 10 or newer
  • Leiningen 2 or newer
  • Clojure 1.9 or newer

Development

Setup

When you first clone this repository, run:

lein duct setup

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

Environment

To begin developing, start with a REPL.

lein repl

Then load the development environment.

user=> (dev)
:loaded

Run go to prep and initiate the system.

dev=> (go)
:duct.server.http.jetty/starting-server {:port 3000}
: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 files will be hot-loaded into the browser.

dev=> (reset)
:reloading (...)
:resumed

Testing

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

dev=> (test)
...

But you can also run tests through Leiningen.

lein test

To run Figwheel for CLJS watch call following line from REPL

(figwheel-repl/start-figwheel!)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published