thecodeteam / mosaicme Goto Github PK
View Code? Open in Web Editor NEWMicro service application that retrieves images from Twitter feeds, stores and process them to build a mosaic based on a selected picture.
License: MIT License
Micro service application that retrieves images from Twitter feeds, stores and process them to build a mosaic based on a selected picture.
License: MIT License
For example, the engine service should check if the convert
and metapixel
binaries are available in the system.
Engine and Sync components should send the logs to stdout, instead of redirecting them to a log file.
More info: 12-factor app.
Hi, I tried to deploy the app and use Amazon S3 buckets to play with it. It says that it can't find a container for S3... Do I need ECS service also with Amazon S3? Or am I missing something? It's my first time trying a Docker app.
Since we are not using Puppet anymore to provision hosts, let's remove the existing Puppet bits from the repository.
Set up a CI/CD pipeline to automate testing and artifact delivery.
Some CI system that we can consider using: Travis, Circle, Semaphore
The artifacts (Docker images) will be pushed to Docker Hub.
Better documentation of the project is needed. It would also be very useful to have some sequence and data flow diagrams.
Hi,
just tried to vagrant up this app but it did not work unfortunately. He had issues doing the configurations with puppet. Any ideas on how to try and use the app?
br,
Daniel
Currently, some components are using supervisord to run more than one process inside the container. Instead of that, each process should be started in a different container. Even though they could share the same Docker image.
Update the Listener component to the new business logic.
The Listener should do the following:
#mosaicme
)Example:
{
"twitter_handler": "johndoe",
"name": "John Doe",
"img_url": "http://example.com/394756138745.jpg"
}
Right now the Engine relies on the raw
bucket and it needs a minimum amount of images to start building mosaics. If there are not enough images in the raw
bucket, the Engine will fall into an active loop to check and download images until the threshold is met.
It should have a fallback mechanism when there are not enough images and download them from a known source. For example, it could download images from the following website: http://www.vision.caltech.edu/Image_Datasets/Caltech256/
At this time, MosaicMe components read the configuration in different ways. Which makes it confusing when we are developing and using them.
Let's standardize the way components read their configuration. According to the 12-factor app principles, the configuration should be obtained from environment variables.
Therefore, let's use the existing example.env
that is used by the collector and cacher components and extend it with any needed env variable so that it is used by all the components.
Create an independent dependency manifest (e.g. requirements.txt
for Python) for each component.
Create a Dockerfile to generate an image of the sync component. Also provide documentation about how to build and use the image.
Create a Docker Compose file to deploy all MosaicMe components in one shot.
Create test to increase the code coverage and robustness of all the components.
Some of the components are not showing the timestamp in the logs. Make sure they do.
Create a Dockerfile to generate an image of the engine component. Also provide documentation about how to build and use the image.
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.