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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pelican-qsb-0.4.1.tar.gz.
File metadata
- Download URL: pelican-qsb-0.4.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08ec2eca2f570f287af261a79897739c32c9223c5a8ed8bf75cc19dbff29e673
|
|
| MD5 |
4ee837f295ed15a1f5b261ca390d94f7
|
|
| BLAKE2b-256 |
6064bf6dbc7b387ec121ad04d9add519b658e7c45f54093b5c50dbdf5e3a566d
|
File details
Details for the file pelican_qsb-0.4.1-py3-none-any.whl.
File metadata
- Download URL: pelican_qsb-0.4.1-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a88502f9d7a89469ce5a0ab987dc8fd38a959da6463bb588f626d7fb9f217f7e
|
|
| MD5 |
462b32130663ddaaad6e877b5d85c001
|
|
| BLAKE2b-256 |
b94366064e98f2774f22b7bb45a991ce43b541157fd840f9ff3c61f8d3d417c0
|