Simple helper for automation Pelican-based site building
Project description
Pelican Quick Site Builder (pelican-qsb)
About
Script can help to build local server or push site to GitHub. Have additional sub-arguments.
Attention!
Use only in your virtual environment!
All "git push" actions are used with the --force
flag, so all commits will be rewritten.
Usage
Requirements
- Pelican
- Python >= 3.6
- ghp-import
Get start:
Pre-requirements:
- Install and configure Pelican - Instruction
Install script:
- From sources:
- Clone this repository using Git to your Pelican folder
# Simple way to clone pelican-qsb
git clone --depth=1 https://github.com/dmytrohoi/pelican-qsb.git qsb && rm -rf ./qsb/.git
- Run pelican-qsb script for the first time and configure it
# NOTE: './qsb/' it's the PATH to pelican-qsb project dir
python ./qsb/make_site.py
- From pip:
- Install script from pip:
pip install pelican-qsb
- Run pelican-qsb script in your Pelican directory for the first time and configure it:
pelican-qsb
Functions:
github [-d] [-b] # make gh-output and push it to github repository
# (without [d]raft and [b]ackup as default)
local # make local server using pelicanconf.py file
backup # backup all files in your Pelican directory to backup repository
-h, --help # print help info
Created by Dmytro Hoi, 2019
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
pelican-qsb-0.4.0.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for pelican_qsb-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8309798b0026fa7cace19e2d612e1772c75e3f1345355b4fe36dbb91d8823f6a |
|
MD5 | 8f23af291a484c095f51460e6136c4ae |
|
BLAKE2b-256 | 8e66b9a9860c9616d001a19235bc0b010a55550b4298d5e8936f8e7eea8a1b00 |