goad.us website
https://goad.us/
- Python 72.3%
- HTML 14.3%
- JavaScript 11.6%
- Dockerfile 1.2%
- CSS 0.6%
| .woodpecker | ||
| goadus | ||
| LICENSES | ||
| .dockerignore | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| .yamllint.yml | ||
| Dockerfile | ||
| MANIFEST.in | ||
| pyproject.toml | ||
| README.md | ||
| setup.py | ||
| tox.ini | ||
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