Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

Hachmaninow/chess-dojo

Repository files navigation

Chessdojo

Manage and practice chess studies.

Usage

Development

I use "lein-test-refresh" to automatically rerun tests for Clojure.

lein test-refresh :changes-only

To run the Clojurescript tests involves more setup: The package.json of the project install karma [https://karma-runner.github.io/1.0/index.html] which is then called by doo [https://github.com/bensu/doo].

To run tests I use:

lein doo chrome test auto

To run the whole application using figwheel.

lein figwheel

MongoDB

For simple maintenance/debugging tasks the Mongo shell can be used: docker exec -it chessdojo_mongo-db_1 mongo

Some sample commands: show dbs use <db> db.games.find({_id : "b1a22603-2828-4835-bbcc-408a22f28008"}); db.games.deleteOne({_id : "74860980-4c1c-4e5a-a6b4-da5d4e1726f2"});

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published