https://github.com/meeb/django-distill-site
Website for django-distill.com
https://github.com/meeb/django-distill-site
Last synced: about 1 year ago
JSON representation
Website for django-distill.com
- Host: GitHub
- URL: https://github.com/meeb/django-distill-site
- Owner: meeb
- License: bsd-3-clause
- Created: 2022-04-21T04:13:35.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-08T05:11:02.000Z (almost 2 years ago)
- Last Synced: 2025-03-20T12:51:32.929Z (about 1 year ago)
- Language: Sass
- Size: 2.18 MB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# django-distill-site
Django powered website for [django-distill.com](https://django-distill.com/)
using
[django-distill](https://github.com/meeb/django-distill) to output the sites
static HTML. The site is automatically built by Cloudflare Pages and deployed
to the Cloudflare CDN.
Various helper commands are available via the
[Makefile](https://github.com/meeb/django-distill-site/blob/main/Makefile).
Requirements are modern Python3 and pipenv.
Clone the repo and install the dependancies with:
$ pipenv shell && pipenv install
To run the Django development server use
$ make dev
Note that `make sync` requires a valid GitHib API key to be set in
`settings.py`.
The
[runtime.txt](https://github.com/meeb/django-distill-site/blob/main/runtime.txt)
file specifies the Python runtime to be used by the Cloudflare Pages runner
when the site is built.
This site is quite over-engineered for a small static website. This is by
design to showcase how you can use Django with static content, databases and
the CMS with static site generation.