Giter VIP home page Giter VIP logo

brew-control-dash's People

Contributors

earai avatar mcannamela avatar

Watchers

 avatar  avatar  avatar

brew-control-dash's Issues

Deployment to Dockerhub

When a branch is merged to master, we'd like to build a Docker image and push it to Dockerhub.
This will entail somehow getting Dockerhub credentials into the image or build process.

Docker and environment

Write a Dockerfile and docker-compose.yml suitable for development.

Use poetry to define a pyproject.toml that includes Dash as a dependency.

In the Dockerfile, ADD the pyproject.toml and use poetry export to render a requirements.txt file that you can then pip install: we do not need a virtualenv in the docker container.

At the end of the Dockerfile, ADD the code from the repo and invoke pip install -e . to ensure the packages under development are available for import. Also, use VOLUME to bind the local copy of the code into the container.

The docker-compose.yml file can start simple, having a service called "bash" that when docker-compose run bash is invoked will drop the developer into a shell in the container. Optionally, add a tests folder and write a no-op test and an additional service "tests" that, when invoked, just runs pytest.

Hello world page

Add a service to the docker-compose file such that, when docker-compose up is invoked, a Flask webserver starts and begins serving a "hello world" page on localhost.

Additionally, ensure that Dash and plotly are importable and we can some of its functionality, perhaps displaying a static plot.

set up CI

Use Github's actions to set up CI, such that when a branch is pushed, unit tests are run. We'd also like to make sure that when a PR is opened, the CI status is displayed there.

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.