Giter Site home page Giter Site logo

live-demo's Introduction

Instrumentation Demo:

NB! This is the end result of the demo, if you want to follow through the steps, you might want to use master branch.

Install Prometheus:

helm upgrade prometheus --namespace insight stable/prometheus --install -f infra/minikube/values/prometheus/values.yaml

Install Grafana

cat minikube/values/grafana/values.yaml | \
sed "s#%%ELASTIC_USER%%#<VARIABLE>#g" | \
sed "s#%%ELASTIC_SECRET%%#<VARIABLE>#g" | \
sed "s#%%ELASTIC_URL%%#<VARIABLE>#g" | \
sed "s#%%MONITORING_USER%%#<VARIABLE>#g" | \
sed "s#%%MONITORING_PASSWORD%%#<VARIABLE>#g" | \
sed "s#%%OAUTH_ID%%#<VARIABLE>#g" | \
sed "s#%%OAUTH_SECRET%%#<VARIABLE>#g" | \
helm upgrade grafana --namespace insight --version 3.3.10 --install stable/grafana -f -

Setup your Python Django project

pip install coderedcms
coderedcms start verypythonproblems --sitename "Very Python Problems" --domain demo.verypythonproblems.com
cd verypythonproblems/

Step 2: Means of deplpyment

mkdir -p charts/incubator
cd charts/incubator
helm create wagtail
cd ../../
helm upgrade demo --namespace london --install charts/incubator/wagtail

Start patching and deploying.

git apply patcch/1_deployable_project.patch
...

Step 3: Means of deploying OUR code (v0.0.3 - v0.0.8)

helm upgrade demo --namespace london --install charts/incubator/wagtail -f verypythonproblems/values.yaml

Step 4: Means of hiding secrets (v.0.0.9 - current)

cat values.yaml | sed "s#%%SENTRY_DSN%%#<VAR_SENTRY_DSN>#g" | \
helm upgrade demo --namespace london --install charts/incubator/wagtail -f -

live-demo's People

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.