Skip to content

Instantly share code, notes, and snippets.

View kacieh80's full-sized avatar

Kacie Houser kacieh80

  • 20:28 (UTC -06:00)
View GitHub Profile
@kacieh80
kacieh80 / kube_gitlab.md
Created February 28, 2019 21:11
Install Kubernetes on Digital Ocean and run Gitlab

Installing Gitlab with DigitalOcean and Kuebernetes

Prerequisites

Create a Kubernetes Cluster

  • In your DigitalOcean account create an empty project and go to Manage > Kubernetes
@kacieh80
kacieh80 / app.py
Last active May 7, 2016 06:20
Falcon App start up file with Flask like routes
import falcon
import os
from app.db import db_session
from app.utils.exceptions import build_error_response
from app.startup import (autoload, add_routes)
wsgi_app = falcon.API(after=[db_session.remove_session])
autoload("{0}/{1}".format(os.path.dirname(__file__), "handlers"))
@kacieh80
kacieh80 / startup.py
Created December 24, 2015 09:20
Pretty Flask like routes in Falcon python framework
import os
import pkgutil
class route(object):
""" Decorates RequestHandlers and builds a list of routes """
_routes = []
def __init__(self, uri):