Git Product home page Git Product logo

sage-ecr's Introduction

sage-ecr

SAGE Edge Code Repository

CI

Test environment

Add registry.local to docker daemon settings: (OSX -> Docker Desktop -> Preferences... -> Docker Engine)

{
  "experimental": true,
  "debug": true,
  "insecure-registries" : ["registry.local:5001"]
}

Add registry.local to /etc/hosts:

sudo ./scripts/add_etc_hosts_entry.sh 

The test environment uses docker-compose but has to be invoked by a wrapper script:

./run.sh -d

Option -d will deamonize the docker-compose environment. Option --build will build docker images first.

To stop:

./run.sh stop

Jenkins

Visit Jenkins in your browser via: http://localhost:8082

Note: After the start of Jenkins you have to login as user ecrdb with password test. You can skip the "Getting Started" dialogue but clicking the X in the upper right corner. Then click on the blue button Start using Jenkins. After that your are logged in, but that is not a requirement. Users can view the Jenkins instance without logging in.

Tutorial

./tutorial.md

API Specification

./api_spec.md

testing

for an existing docker-compose enviornment:

docker exec -ti sage-ecr_sage-ecr_1 /bin/ash -c 'coverage run -m pytest -v --runslow  &&  coverage report -m'

debugging

docker exec -ti sage-ecr_db_1 mysql -u sage -p SageECR

sage-ecr's People

Contributors

wgerlach avatar iperezx avatar jswantek avatar seanshahkarami avatar

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.