jven / studyopenings

A tool to study chess openings.
http://studyopenings.com
MIT License
94 stars 13 forks source link
chess chess-openings memorization

studyopenings

StudyOpenings - Build mode

What is this?

A tool to help chess players memorize opening repertoires.

The tool lets you:

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
  3. Copy the .env file which points the application to your local database:

    studyopenings/ $ cp .env.local .env
  4. 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
  5. 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.la • http://jvenezue.la