Code Monkey home page Code Monkey logo

www.photos.io's Introduction

๐Ÿ“ท Photos Project

This project uses the following technologies:

  • Blackfire
  • Elasticsearch with elastica.io + kibana
  • MySQL
  • Symfony
  • ReactJS (hooks) + react-dropzone/react-dropzone
  • RabbitMQ with jakubkulhan/bunny + claviska/SimpleImage
  • Redis

Table of Contents

๐Ÿš€ Environment setup

๐Ÿณ Needed Tools

  1. Install Docker
  2. Clone this project: git clone https://github.com/iamandresdiaz/www.photos.io.git
  3. Move to the project folder: cd www.photos.io

๐ŸŒ Application execution

  1. Create a custom host inside /etc/hosts using sudo vim /etc/hosts and add 127.0.0.1 local-www.photos.io
  2. Install the App dependencies and bring up the Docker containers with the command make build
  3. Run make migration to create a migration
  4. Run make migrate to apply database migration
  5. Open 2 or more terminal tabs inside the same project folder (local-www.photos.io)
  6. Bring up the rabbitMQ consumers inside each terminal tab opened before and use the command make consumer inside each terminal tab
  7. Go to local-www.photos.io on your browser
  8. Use the images provided inside the folder ./images
  9. In order to see the original images and their filters you will need to use the search bar to show the results

๐Ÿ” Profiling

  1. Change the blackfire environment values inside docker-compose.yml to your own blackfire Client and Server keys
  2. Run make down to turn down docker containers
  3. Run make build if you haven't done it before, otherwise use make start to turn up the docker containers without an optimized project build
  4. Run make profile to make a profiling of the application with blackfire

โœ… The last Lighthose report can be consulted here but you need to run make build first in order to see the report

www.photos.io's People

Contributors

mrandycodes avatar

Watchers

 avatar

Forkers

kovanose

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.