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
Release history Release notifications | RSS feed
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.dev60.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for pluvial-0.0.3.dev60-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c825e1d83d68cfd885b30d5df1d98bc80738e64c7d8498587e1315a609b9342e |
|
MD5 | cf85215cb2e87da31c59692e3d155a56 |
|
BLAKE2b-256 | 387f9febb262ce6310dd3bd1494db1a13fa1a55beec2a446a34bd3382f85a555 |