goad.us website https://goad.us/
  • Python 72.3%
  • HTML 14.3%
  • JavaScript 11.6%
  • Dockerfile 1.2%
  • CSS 0.6%
Find a file
2026-05-12 12:57:30 -07:00
.woodpecker woodpecker: Use caching 2026-05-12 12:57:30 -07:00
goadus Change github.com URLs to codeberg.org 2026-04-29 16:35:53 -07:00
LICENSES Omnibus scaffolding update 2025-07-21 20:24:55 -07:00
.dockerignore Change github.com URLs to codeberg.org 2026-04-29 16:35:53 -07:00
.gitignore Change github.com URLs to codeberg.org 2026-04-29 16:35:53 -07:00
.pre-commit-config.yaml pre-commit: Remove actionlint; bump woodpecker-shellcheck 2026-05-04 18:32:11 -07:00
.yamllint.yml Change github.com URLs to codeberg.org 2026-04-29 16:35:53 -07:00
Dockerfile Change github.com URLs to codeberg.org 2026-04-29 16:35:53 -07:00
MANIFEST.in Change github.com URLs to codeberg.org 2026-04-29 16:35:53 -07:00
pyproject.toml Add explicit build-system defs, stub setup.py for setuptools <61.0.0 2026-05-01 10:34:53 -07:00
README.md Change github.com URLs to codeberg.org 2026-04-29 16:35:53 -07:00
setup.py setup.py: Fix incorrect URL 2026-05-01 10:40:55 -07:00
tox.ini Change github.com URLs to codeberg.org 2026-04-29 16:35:53 -07:00

goad.us website

This is a quick0 and dirty django port of goad.us, formerly written in PHP.

0 Not actually quick. It took about 2 full days to replace the functionality of a 300-line hack of a PHP script.

Local dev

local_setting.py

import os
from goadus.settings import *

SECRET_KEY = 'LOCAL-DEV-ONLY-98Br2ZMWt99DqxxcNlcSmfdXsdsb8mRpbcP9VXRC'
MEDIA_URL = '/media/'
DEBUG = True
ALLOWED_HOSTS = ['127.0.0.1']

Set up

VENV_DIR=~/venv/goadus
export DJANGO_SETTINGS_MODULE=local_settings
python3 -mvirtualenv ${VENV_DIR?}
${VENV_DIR?}/bin/pip install -r requirements.txt
${VENV_DIR?}/bin/python manage.py migrate
${VENV_DIR?}/bin/python manage.py createsuperuser
${VENV_DIR?}/bin/python manage.py runserver

License

This document is provided under the following license:

SPDX-PackageName: goadus-website
SPDX-PackageSupplier: Ryan Finnie <ryan@finnie.org>
SPDX-PackageDownloadLocation: https://codeberg.org/rfinnie/goadus-website
SPDX-FileCopyrightText: © 2020 Ryan Finnie <ryan@finnie.org>
SPDX-License-Identifier: CC-BY-SA-4.0