Metadata-Version: 2.1
Name: pubcrank-django-app
Version: 0.3.0
Summary: PubCrank CMS Django App
Author-Email: Paul Bailey <paul@neutron.studio>
License: BSD 3-Clause
Project-URL: homepage, https://www.pubcrank.md/
Requires-Python: >=3.13
Requires-Dist: piou>=0.16.2
Requires-Dist: hjson>=3.1.0
Requires-Dist: python-frontmatter>=1.1.0
Requires-Dist: markdown2[all]>=2.5.3
Requires-Dist: pendulum>=3.1.0
Description-Content-Type: text/markdown

# PubCrank Django App

PubCrank is a static file CMS. `pubcrank-django-app` is a portable Django app that you can add to your Django project for static file CMS functionality.

**Note: this app is under construction**

## Installation and Setup

### Install

`pdm add pubcrank-django-app`

### settings.py

Add to `INSTALLED_APPS`

```python
INSTALLED_APPS = [
    ...
    'pubcrank',
]
```

Add PubCrank Settings:

```python
from pubcrank.settings import setup_pubcrank

# setup_pubcrank(globals(), pubcrank_dir_path, theme)
setup_pubcrank(globals(), BASE_DIR / 'pubdir', 'plain')
```

## Build Static Site
