Giter Site home page Giter Site logo

udagram's Introduction

Udagram app

Set up

prerequisite

  1. install and configure awscli instruction
  2. install eks-ctl instruction
  3. install kubectl for macinstruction
  4. install hub brew install hub

clone the repo

  1. git clone https://github.com/thanakijwanavit/udagram.git&&cd udagram&&hub fork --remote-name origin
  2. git push origin

setup kubernetes cluster

  1. edit appropriate settings vim ./setup/createCluster.sh or use default
  2. run bash ./setup/createCluster.sh

upload creds to travisci

  1. Input your password for aws and dockerhub into the file vim setup/setupTravisTeamplate.sh
  2. run bash setup/setupTravisTeamplate.sh to transfer your password to travisci

connect to travisci

  1. set up travisci account and connect to the approprate github repo instruction

configure dockerhub and file name

  1. edit appropriately

configure secrets

  1. vim ./udacity-c3-deployment/k8s/env-secret.yml
  2. vim ./udacity-c3-deployment/k8s/aws-secret.yml
  3. vim ./udacity-c3-deployment/k8s/env-configmap.yml

configure dockerhub

  1. in the directory ./udacity-c3-deployment edit all the deployment files to use the prefix of your username

deploy

  1. after travisci is set up run git push
  2. kubectl get svc should return your services

demo

travisci build and deploy

dockerhub images

github images

kubectl get pod command

application demo

udagram's People

Contributors

thanakijwanavit 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.