Local development

When developing new functionality for jobtech-taxonomy-api, you want to use the read version of taxonomy database, which is contained in the tax-api source code repo under ~/resources/taxonomy.zip. The it is used in the default configuration, so you just need to start start the application either from REPL or with clj command described in and it will work. You can either run the taxonomy api from either your terminal or from a repl.

Editor specific instructions

These are some specific instructions for various editors to help you integrate it with this project and get a development REPL up and running in your editor.

EditorInstructions
EmacsThe file .dir-locals.el configures the REPL for development. Just call M-x cider-jack-in to run the REPL.
Vim...
VSCode, Calva...

Adding auto code formatting as a pre-commit hook

Run this command to configure git to look for hooks in .githooks/: git config --local core.hooksPath .githooks/

COMMON ERRORS

If you get :server-type must be :cloud, :peer-server, or :local you have forgot to start the taxonomy api. Run (start) in the user> namespace

References