This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SHELL := /bin/bash | |
export CLUSTER_NAME ?= epinio | |
export TMP_DIR ?= /tmp | |
IP_ADDR := $(shell ifconfig -a | grep "inet " | grep -v 127 | awk 'NR==1{print $$2}') | |
export DOMAIN ?= $(IP_ADDR).sslip.io | |
export EPINIO_SERVER_VERSION ?= 1.11.0 | |
export ADM_USR ?= admin | |
export ADM_PWD ?= password | |
export ADM_PWD_ENCRYPT := '$(shell htpasswd -bnBC 10 "" ${ADM_PWD} | tr -d :)' | |
export DEV_USR ?= dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask, request | |
from nameko.standalone.rpc import ServiceRpcProxy | |
app = Flask(__name__) | |
@app.route('/') | |
def task_list(): | |
return """ | |
<html> |