Git Product home page Git Product logo

checkrs-tew's Introduction

checkRS-tew

Configuration files for the tew (test environment: web) containerized test environment.

Quick Tips

This directory depends on pyenv for local testing of configuration files and pipenv for Python package management.

Installing pyenv

Follow the instructions found on the pyenv project's website, https://github.com/pyenv/pyenv#installation or try the curl based, one script install described here

Setting up the development environment

Setup the python environment by running:

make pyenv

python and pipenv commands will be installed.

Install the packages from the Pipfile and Pipfile.lock

Pipfile and Pipfile.lock are artifacts of pipenv. They hold details about the versions and SHA256 hashes of packages. Use the following command to install packages into your local pyenv based Python environment:

pipenv sync --dev --pre

Adding new packages to Pipfile and Pipfile.lock

New packages can be added to the Pipfiles with a command like this:

pipenv install packagename

Where packagename is the name of the package you want to install

Update all packages in Pipfile.lock

To update all of the Python packages in the Pipfile.lock to their latest versions and install those latest version in the virtualenv, use:

pipenv update --dev --pre

In the example above, we specify --dev to update the main packages and development packages. We also specify --pre to allow for pre-released software to be installed. This is particularly needed for the black code formatting package.

Building the Docker image

Use the Makefile at the top of the repository to build a new Docker image:

make build

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.