Skip to content
albert12132 edited this page Jan 27, 2015 · 4 revisions

Installation

  1. Clone this repository.

     git clone https://github.com/Cal-CS-61A-Staff/ok-client.git
    
  2. Install virtualenv

  3. Create a virtualenv at the root of the repository:

     virtualenv -p python3 .
    

    Make sure your version of Python is 3.2 or above.

  4. Activate the virtualenv:

     source bin/activate
    
  5. Install requirements:

     pip install -r requirements.txt
    

Contributing

Source code

All source code is found in the client/ directory.

  • Models: different data types that store information about the assignment
  • Configuration: the configuration file for OK
  • Sources: sources from which tests are loaded
  • Protocols: protocols that operate on tests
  • CLI: command line interface scripts

Tests

All tests are found in the tests/ directory, which mirrors the structure of the client/ directory. Each test file corresponds to a file in client/.

ok-client uses Travis CI.

Clone this wiki locally