danube-delta 0.0.3
pip install danube-delta==0.0.3
Released:
Honza Javorek's Pelican setup
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Honza Javorek
- Tags pelican , blog
Classifiers
- Environment
- License
- Operating System
- Programming Language
Project description
Honza Javorek’s Pelican setup.
Installation
$ pip install danube-delta
Warning: The library is only for Python 3.
Setup
Create basic scaffolding of your Pelican blog:
$ mkdir ./my-awesome-blog $ cd ./my-awesome-blog $ git init $ mkdir ./content ./output $ echo '/output' > .gitignore
Create ./settings.py:
from danube_delta.settings import * AUTHOR = 'Zuzka & Honza' SITENAME = 'Pražení' if PRODUCTION: SITEURL = 'http://example.com'
Install danube_delta, globally:
$ sudo -H pip install danube_delta
In the root of your blog directory you can now use the blog CLI:
$ blog write
Usage
$ blog write # Starts a new article and opens it in your editor
$ blog preview # Opens local preview of your blog website in your browser
$ blog publish # Saves changes and sends them to GitHub
$ blog deploy # Uploads new version of your public blog website
Travis CI can do blog deploy for you every time you perform blog publish:
language: "python"
python:
- "3.5"
cache: "pip"
script:
- "blog lint"
env:
global:
- secure: "..." # gem install travis && travis encrypt GITHUB_TOKEN=...
deploy:
provider: "script"
script: "blog deploy"
on:
branch: "master"
repo: "honzajavorek/my-awesome-blog"
sudo: false
Developing Danube Delta
Clone Danube Delta to a directory of your choice, e.g. ~/danube-delta.
Install Danube Delta from your local clone: pip install -e ~/danube-delta.
Name
In 2012 I’ve seen some pelicans in the Danube Delta:
Photo: © 2012 Honza Javorek
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Honza Javorek
- Tags pelican , blog
Classifiers
- Environment
- License
- Operating System
- Programming Language
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
File details
Details for the file danube-delta-0.0.3.tar.gz
.
File metadata
- Download URL: danube-delta-0.0.3.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
cfd1b4ade621a56674d85d158391ba9abdbf5a84a3a99a84fcff4c0092266f39
|
|
MD5 |
99a12ef55532475493c982b6446ff59f
|
|
BLAKE2b-256 |
cd40740775c2330006204a10598fc004b7f1904c5e9e8101955f0c2de5a63ebd
|