Giter VIP home page Giter VIP logo

doku's Introduction

disclamer

It uses code from this github: https://github.com/visionect/digitalsignage Binary is stored in this repo also.

You should have Ansible installed on your system. Version should be 2.0 or grater.

Setup

Checkout from git repo.

Short usage

install

run: vagrant up Takes round 5-10 minutes to start.

Running the app

In your browser run localhost:3000 --> default port

How it works:

Uses Vagrant for environment. Ansible for provision . I used also vagrant docker provision but just to install docker - nice hack :)

in roles there are:

  • docker
    • all that is docker related - uses dm machine
    • under templates there is docker file - original is under files file
  • HandyStuff
    • some nice packages that I like to have installed
  • Haproxy
    • to expose port to outside world
  • helm
    • using helm for app
  • kubernetes
    • needed for km machine - installs what needs and import image
    • under templates is yaml for pod
  • myapp
    • it was used for testing and is not used anymore - can be if you change to Old_Docker.j2 in docker task cd ..

Problems

  • First problem

Ansible does not have fail switch and somethimes ssh timeouts (usually km machine) - I will look into it some day If that happens the best way is to do vagrant destroy and then again vagrant up You can destroy just machine that failed.

  • Second problem

Once ansible is run kubernetes machine cannot be provisioned again. I made some tags so that you can skip problematic provisions. This can be resolved with ansible checks but there was no time for this - some day as usuall :)

doku's People

Contributors

orescek avatar

Watchers

James Cloos avatar  avatar

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.