Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 2.31 KB

README.md

File metadata and controls

71 lines (58 loc) · 2.31 KB

studyopenings

StudyOpenings - Build mode

What is this?

A tool to help chess players memorize opening repertoires.

The tool lets you:

  • build repertoires by playing opening moves on a board and

  • study repertoires by repeatedly recalling one side of the opening lines.

Credits

Running locally

  1. Clone the repository.
  2. Install MongoDB if necessary. Then start a local MongoDB database instance:
$ mongod --dbpath ~/data/db --port 27017
[...]
waiting for connections on port 27017
  1. Copy the .env file which points the application to your local database:
studyopenings/ $ cp .env.local .env
  1. Run the server:
studyopenings/ $ npm install
studyopenings/ $ npm run start-dev
[...]
studyopenings is running!
Listening on 5000.
Using database path: mongodb://127.0.0.1:27017
  1. Go to http://localhost:5000.

Running tests

To run all the tests once:

studyopenings/ $ npm install
studyopenings/ $ npm run test
[...]
Ran all test suites.

To run the tests continuously as changes are made:

studyopenings/ $ npm install
studyopenings/ $ jest --watch

Author

Justin Venezuela • jven@jvenezue.lahttp://jvenezue.la