mcannamela / brew-control-dash Goto Github PK
View Code? Open in Web Editor NEWShows what our brewery is up to.
License: MIT License
Shows what our brewery is up to.
License: MIT License
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.
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
.
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.