In [1]:
import shutil
BASE="~/devel"
BLOG="openbermuda"
BLOG="peakrisk"
In [2]:
cd ~/devel/$BLOG
/home/jng/devel/peakrisk
In [3]:
!pwd
/home/jng/devel/peakrisk
In [18]:
# oops created in wrong place
OOPS="peakrisk"
In [19]:
# mv stuff here
!mv $BASE/$OOPS/experimenting-and-building-things.* ,,/../
mv: cannot stat ‘/home/jng/devel/peakrisk/experimenting-and-building-things.*’: No such file or directory
In [4]:
!nikola new_post -t "xxx" -f rest
Creating New Post
-----------------
Title: xxx
Scanning posts.......done!
[2015-07-28T18:34:23Z] INFO: new_post: Your post's text is at: posts/xxx.rst
In [21]:
!nikola new_post --help
Purpose: create a new blog post or site page
Usage: nikola new_post [options] [path]
Options:
-p, --page Create a page instead of a blog post. (see also: `nikola new_page`)
-t ARG, --title=ARG Title for the post.
-a ARG, --author=ARG Author of the post.
--tags=ARG Comma-separated tags for the post.
-1 Create the post with embedded metadata (single file format)
-2 Create the post with separate metadata (two file format)
-e Open the post (and meta file, if any) in $EDITOR after creation.
-f ARG, --format=ARG Markup format for the post, one of rest, markdown, wiki, bbcode, html, textile, txt2tags
-s Schedule the post based on recurrence rule
-i ARG, --import=ARG Import an existing file instead of creating a placeholder
In [26]:
!nikola github_deploy
Scanning posts.......done!
. render_tags:output/categories/giving.html
. render_tags:output/categories/pyephem.html
. render_tags:output/categories/astronomy.html
. render_tags:output/categories/tides.html
. render_tags:output/categories/air-pressure.html
. render_tags:output/categories/mysql.html
. render_tags:output/categories/cyber-risk.html
. render_tags:output/categories/weather.html
. render_tags:output/categories/lamp.html
. render_tags:output/categories/open-data.html
. render_tags:output/categories/information-security.html
. render_tags:output/categories/pandas.html
. render_tags:output/categories/jupyter.html
. render_tags:output/categories/take-a-minute.html
. render_tags:output/categories/meta-data.html
. render_tags:output/categories/free-software.html
. render_tags:output/categories/fourier.html
. render_tags:output/categories/67.html
. render_tags:output/categories/limp.html
. render_tags:output/categories/astropy.html
. render_tags:output/categories/computer.html
. render_tags:output/categories/data-science.html
. render_tags:output/categories/python.html
. render_tags:output/categories/moon.html
. render_tags:output/categories/pi.html
. render_tags:output/categories/gpl.html
Scanning posts.......done!
[2015-07-28T11:20:21Z] INFO: github_deploy: ==> ['ghp-import', '-n', '-m', 'Nikola auto commit.\n\nSource commit: 8ed58830bd209a8552c8320022ab8a3cd6ab3fe6\nNikola version: 7.5.1', '-p', '-r', 'origin', '-b', 'gh-pages', 'output']
Counting objects: 1, done.
Writing objects: 100% (1/1), 230 bytes | 0 bytes/s, done.
Total 1 (delta 0), reused 1 (delta 0)
To git@github.com:peakrisk/peakrisk.git
2bb8520..598d241 gh-pages -> gh-pages
[2015-07-28T11:20:22Z] INFO: github_deploy: Successful deployment
In [23]:
!nikola build
Scanning posts.......done!
. render_tags:output/categories/mysql.html
. render_tags:output/categories/information-security.html
. render_tags:output/categories/cyber-risk.html
. render_tags:output/categories/gpl.html
. render_tags:output/categories/jupyter.html
. render_tags:output/categories/67.html
. render_tags:output/categories/pi.html
. render_tags:output/categories/take-a-minute.html
. render_tags:output/categories/astropy.html
. render_tags:output/categories/python.html
. render_tags:output/categories/giving.html
. render_tags:output/categories/astronomy.html
. render_tags:output/categories/moon.html
. render_tags:output/categories/fourier.html
. render_tags:output/categories/pyephem.html
. render_tags:output/categories/raspberry-pi.html
. render_tags:output/categories/computer.html
. render_tags:output/categories/data-science.html
. render_tags:output/categories/python-draft.html
. render_tags:output/categories/weather.html
. render_tags:output/categories/finance.html
. render_tags:output/categories/git.html
. render_tags:output/categories/free-software.html
. render_tags:output/categories/air-pressure.html
. render_tags:output/categories/pandas.html
. render_tags:output/categories/tides.html
. sitemap:output/sitemap.xml
In [24]:
!nikola github_deploy
Scanning posts.......done!
. render_tags:output/categories/moon.html
. render_tags:output/categories/pyephem.html
. render_tags:output/categories/air-pressure.html
. render_tags:output/categories/pandas.html
. render_tags:output/categories/jupyter.html
. render_tags:output/categories/cyber-risk.html
. render_tags:output/categories/python-draft.html
. render_tags:output/categories/computer.html
. render_tags:output/categories/weather.html
. render_tags:output/categories/raspberry-pi.html
. render_tags:output/categories/data-science.html
. render_tags:output/categories/tides.html
. render_tags:output/categories/67.html
. render_tags:output/categories/python.html
. render_tags:output/categories/astropy.html
. render_tags:output/categories/meta-data.html
. render_tags:output/categories/git.html
. render_tags:output/categories/astronomy.html
. render_tags:output/categories/gpl.html
. render_tags:output/categories/take-a-minute.html
. render_tags:output/categories/mysql.html
. render_tags:output/categories/finance.html
. render_tags:output/categories/fourier.html
. render_tags:output/categories/pi.html
. render_tags:output/categories/linux.html
. render_tags:output/categories/limp.html
. render_tags:output/categories/free-software.html
. render_tags:output/categories/giving.html
. render_tags:output/categories/information-security.html
. render_tags:output/categories/open-data.html
. sitemap:output/sitemap.xml
Scanning posts.......done!
[2015-07-28T11:20:00Z] INFO: github_deploy: ==> ['ghp-import', '-n', '-m', 'Nikola auto commit.\n\nSource commit: 8ed58830bd209a8552c8320022ab8a3cd6ab3fe6\nNikola version: 7.5.1', '-p', '-r', 'origin', '-b', 'gh-pages', 'output']
Counting objects: 29, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (14/14), done.
Writing objects: 100% (29/29), 4.44 MiB | 697.00 KiB/s, done.
Total 29 (delta 23), reused 20 (delta 14)
To git@github.com:peakrisk/peakrisk.git
665f0dd..2bb8520 gh-pages -> gh-pages
[2015-07-28T11:20:12Z] INFO: github_deploy: Successful deployment
In [25]:
!nikola build
Scanning posts.......done!
. render_tags:output/categories/tides.html
. render_tags:output/categories/free-software.html
. render_tags:output/categories/fourier.html
. render_tags:output/categories/jupyter.html
. render_tags:output/categories/moon.html
. render_tags:output/categories/open-data.html
. render_tags:output/categories/astropy.html
. render_tags:output/categories/cyber-risk.html
. render_tags:output/categories/pandas.html
. render_tags:output/categories/linux.html
. render_tags:output/categories/python-draft.html
. render_tags:output/categories/pyephem.html
. render_tags:output/categories/gpl.html
. render_tags:output/categories/air-pressure.html
. render_tags:output/categories/giving.html
. render_tags:output/categories/limp.html
. render_tags:output/categories/git.html
. render_tags:output/categories/information-security.html
. render_tags:output/categories/computer.html
Content source: peakrisk/peakrisk
Similar notebooks: