Public | Automated Build

Last pushed: a year ago
Short Description
Build my facelook application.
Full Description



Face detection web service.
Project created as part of the course Agile Methodologies in ONPU with the support of Sigma Software Ukraine mentors.


Build Docker image

Build requires pre-installed Docker with created user group docker for running without sudo permissions.

docker build . -t mikefaraponov/facelook:latest
docker run -d --restart=always -p 80:80 --net=host -t mikefaraponov/facelook

Last string cause builded docker container to run in background mode and forwards it port 80 to host port 80.

Pull Docker image from Docker registry

If you want up our application you simply can pull Docker image from registry and then run it like in the previous paragraph.

docker pull mikefaraponov/facelook:latest
docker run -d --restart=always -p 80:80 --net=host -t mikefaraponov/facelook


This walkthrough requires pre-installed vagrant, virtual-box.
To start Vagrant image simply do next steps:

cd ~/facelook
vagrant up && vagrant ssh

First you need to build Js project with build npm script:

cd ~/facelook/client
npm run build

Or watch each changes of files to compile:

cd ~/facelook/client
npm run dev
Or to build es6/scss once for prod environment:

To run flask application for dev purposes:

cd ~/facelook
FLASK_APP=app/ FLASK_DEBUG=1 flask run --host=


For flask application:

cd ~/facelook

To run benchmarks:

cd ~/facelook

For es6/scss client app:

cd ~/facelook/client
npm test

This will run unit tests for javascripts via karma test runner. Do not run Karma in Vagrant! Virtualization system bug.


Facelook allows you to upload images or an image and then system mark all faces it find on it with blue squere or if nothing found mark image with red circle at the top left corner.


  • [x] Vagrant support
  • [x] Docker build script
  • [x] Docker automated build webhook
  • [ ] Travis CI
  • [ ] More unit-tests
  • [ ] Nginx https connections
  • [ ] Monetization
  • [ ] Google Analytics


Docker Pull Command
Source Repository