later from 16.04
install pip3 if you don't have already
| [build] | |
| publish = "public" | |
| command = "hugo --gc --minify" | |
| [context.production.environment] | |
| HUGO_VERSION = "0.52" | |
| HUGO_ENV = "production" | |
| HUGO_ENABLEGITINFO = "true" | |
| [context.split1] |
| export $(grep -v '^#' ./.envs/.env.dev | xargs) | |
| DATABASE_URL="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}" |
| SHELL := /bin/bash | |
| PYTHON_BIN := $(VIRTUAL_ENV)/bin | |
| .PHONY: help test lint redis up start stop django | |
| # COLORS | |
| BLACK := $(shell tput -Txterm setaf 0) | |
| RED := $(shell tput -Txterm setaf 1) | |
| GREEN := $(shell tput -Txterm setaf 2) |
| # vim | |
| :%s/^[ ]\+/\t/g |
| [loggers] | |
| keys=root | |
| [logger_root] | |
| level=DEBUG | |
| handlers=screen,file | |
| [formatters] | |
| keys=simple,verbose |
| #!/bin/bash | |
| set -o errexit | |
| set -o pipefail | |
| set -o nounset | |
| # DECRYPT PubKey + PriKey | |
| #----------------------------------------------------------------------------------------------------- |
| # region Django Conf Test Setup | |
| import os | |
| os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings.dev') | |
| from django.core.wsgi import get_wsgi_application | |
| application = get_wsgi_application() | |
| # endregion | |
| # code to test |
| {"lastUpload":"2022-05-20T21:49:53.702Z","extensionVersion":"v3.4.3"} |
I hereby claim:
To claim this, I am signing this object: