Giter Club home page Giter Club logo

amp's Introduction

How to setup

Documentation

  • Documentation is under documentations/notes and in the directory of the corresponding tools

Setting up a tmux session

  • Create a tmux session for amp set-up
    > cd ~/src
    > ./dev_scripts/tmux.sh 1

Development flow

  • We package in Docker containers what is needed to run AM system
    • E.g., command lines and unit tests should always run inside a container
  • We don't development tools save inside container, but we use the local machine to develop (e.g., running PyCharm)
  • Some workflows are run on a development machine without Docker
    • We install a light virtual environment with the minimum set of dependency
      • We use pyinvoke, a replacement for make written in Python, to create workflows
    • invoke always runs outside Docker and in a shell on the dev machine
    • The code for the client setup is under dev_scripts/client_setup

Cloning the repo

  • Path to the local repo folder should look like this:
    ~/src/amp{IDX}

where IDX is an integer, e.g. ~/src/amp1, ~/src/amp2

Setting up the env

  • After cloning the repo, copy dev_scripts/go_amp.sh script to your home (~) folder:

    > cp dev_scripts/go_amp.sh ~
  • Build the thin virtual env on the dev machine

    > dev_scripts/client_setup/build.sh
  • Configure the env

    • source dev_scripts/setenv_amp.sh

Docker

  • Create a docker bash to run interactively (e.g., pytest or command lines)

    # Pull the container.
    > invoke docker_pull
    > invoke docker_bash
  • Run fast tests:

    > invoke run_fast_tests

amp's People

Contributors

alinakhay avatar amrawadk avatar daberezina avatar danilyachmenev avatar dependabot[bot] avatar enotdima avatar gad26032 avatar gitpaulsmith avatar gpsaggese avatar k0nsta avatar k911mipt avatar katerynak avatar lizvladi avatar mindfreakthemon avatar olgavakhonina avatar pavel-particle avatar plyq avatar pomazking avatar stanvanrooy avatar tsallagov avatar vitaly-protasov avatar zet694 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.