Skip to main content

Markdown-based static site generator

Project description

pluvial

Pluvial is a Python package for generating static websites from markdown files, born out of a rainy day project. The name "pluvial" was chosen as a nod to the day the project was started, which happened to be a particularly rainy day.

Local Setup

Install Miniconda

For installers for operating systems other than linux see https://docs.conda.io/en/latest/miniconda.html

curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -s --output miniconda.sh
chmod +x miniconda.sh
./miniconda.sh -u
rm miniconda.sh

Create conda enviroment

You may need to reopen your shell after installing miniconda

conda create -n pluvial python=3.10
conda activate pluvial
conda install --file requirements.txt

Run the project

The default port is 5000

python ./app/main.py

Docker

Building the Docker container

With your working directory in the root of the repository

docker build --tag pluvial .

Running the Docker container

docker run -p 5000:5000 pluvial

or for detached mode

docker run -d -p 5000:5000 pluvial    

Publishing to docker

docker login
docker build --tag mullinmax/pluvial:latest .
docker push mullinmax/pluvial:latest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pluvial-0.0.3.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pluvial-0.0.3-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file pluvial-0.0.3.tar.gz.

File metadata

  • Download URL: pluvial-0.0.3.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for pluvial-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e4d805c18dc4b5cac1a541f699471e0eb32092a350950e42be65a1b1d5c048d7
MD5 907c199cf6adbc28c5bf20dad7800985
BLAKE2b-256 7b6823db34ffd1bc030db6fac5332fbeb4426d8799b5a9afaef83a0623fcb5bc

See more details on using hashes here.

File details

Details for the file pluvial-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pluvial-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for pluvial-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5db9923a16232fed94ea95dbb6433788180403bd5652679ca03a0902386b3379
MD5 5fb5f2323c0f3486c265fab01ffe1311
BLAKE2b-256 7af4362b3c7fe5ba02f8a5ff0057e796082ac0968686444b2087bca5e79a2c5a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page