Skip to content
/ labs Public

Command-line tool for interacting with labs.toolness.com.

Notifications You must be signed in to change notification settings

toolness/labs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a python package that installs a command-line tool called labs, which makes it easy to do stuff with labs.toolness.com.

Quick Start

virtualenv venv

# On Windows, replace the following line with 'venv\Scripts\activate'.
source venv/bin/activate

python setup.py develop

At this point labs will be available on your command-line, but only while your virtualenv is activated. To install it globally:

deactivate
cd labs_virtualenv_executor
python setup.py develop

You may need to prefix the last command with sudo.

This will install a "proxy" labs command globally which activates your virtualenv and then runs the tool within it.

Note that you can avoid the virtualenv stuff entirely by simply installing the package globally, but this will also install all its dependencies globally too.

Documentation

Documentation can be found in the docs directory. It should be fairly accurate, as it also serves as the project's integration test suite.

Running Tests

To run the tests, run:

docker-compose build
python -m unittest discover

It's also possible to run individual documentation tests. To test docs/git_basics.md, for instance, run:

python -m test.test_docs Tests.test_git_basics

About

Command-line tool for interacting with labs.toolness.com.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published