Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Repository files navigation

timeout-tools

Tools for developers

Installation

Requires recent pip

sudo pip3 install -U pip

Install globally so its always avalible

sudo pip3 install git+https://github.com/timeoutdigital/timeout-tools

If you're running a DA app and are having trouble with timeout-tools installing, please check this guide.

Usage

  • Create a workspace
timeout-tools ws <app_repo_name> <branch_name>
eg
timeout-tools ws envars TOPS-1234

This:

  • Clones the app into <branch_name>--<app>
  • Checkout branch <branch_name> if it exists or creates it
  • Installs python version specified in repos PYTHON_VERSION file, using pyenv
  • Creates a pyenv virtualenv named <app>-<version>
  • Installs requirements.txt (and requirements-dev.txt if it exists) in the virtualenv
  • Creates .python-version file for pyenv-virtualenv to read
  • Runs pre-commit install

About

tools to help developer

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.