Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Omegapoint/latetuna

Repository files navigation

Late Tuna

In house learning project. The purpose of this project is to investigate and try technology and archtecture that are new to us. The system we're buildning is a conference system. Some of the features we have in mind is:

  • create a new conference
  • manage a Call For Proposal
  • register to a conference
  • display a schedule

Create and activate a docker-machine

  1. Go to https://www.docker.com/products/docker
  2. Download docker for your platform
  3. Follow the instructions in the Getting started tutorial

Build images

gradle dockerBuildImage
docker-compose build

Pro tip: Gradle supports camelCased shortcuts, so gradle dBI works as well!

Start all containers

docker-compose up

Development tips

  • make an alias for docker-compose i.e. alias dc=docker-compose
  • in order to run services with docker and from your IDE you have to add an alias for kafka to /etc/hosts or equivalent
127.0.0.1    kafka
  • running the gui from the subproject instead from the docker container make the turn around time significant shorter. Run npm run dev to start the webpack dev-server

  • remove all unused docker images from this gist

docker rmi $(docker images | grep "^<none>" | awk '{print $3}')

Architecture

alt tag