GithubHelp home page GithubHelp logo

ga-devops-code-exercise-master's Introduction

ga-devops-code-exercise

Build Status

DevOps coding solution

  1. Clone this repo in github to your account
  2. Clone to your local developer environment.
  3. Change "GITHUB_ACCOUNT" in .env to your.
  4. set global variable "GITHUB_TOKEN" - get it from your Github account
    • export GITHUB_TOKEN=ecedfa7234588b26c512345212534b67542a

  5. For local use look at "> make help".
    • First run:make docker-init - it will build and push container to registry.
    • localhost:3000 you will find Metabase
    • for connecting to DB loock at container name: '> docker ps' by default it is "devops_dev_postgres-db"
  6. For automation build, test and deploymet follow next steps:
    1. Crete account in https://travis-ci.com/
    2. Connect your Github account and turn on Travis on this repo.
    3. Set "GITHUB_TOKEN" variable see: "More options > Settings > Environment Variable" - (get you token in GitHub).
    4. Look at .travis.yml
      • change recipients, to get e-mail notifications.
    5. Create tag in you repo and PUSH - Travis will automatically pull, build, test and deploy app.
    6. Important! BUILDS JUST ON NEW TAG.

ga-devops-code-exercise-master's People

Watchers

 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.