forked from novoid/lazyblorg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample_invocation.sh
executable file
·28 lines (21 loc) · 1.11 KB
/
example_invocation.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
# rm -rf testdata/2del/*
# create the output directory (and parents):
mkdir -p testdata/2del/blog
# get help on the following parameters: «python ./lazyblorg.py --help»
# when setting up your own system, you might want to:
# 1. have separate directories for generating your blog and staging/publishing your blog
# 2. rename everything with «2del» to an appropriate name
# 3. copy generated blog data to staging/publishing directory
# 4. point --previous-metadata to the corresponding pk-file in your staging/publishing directory
# 5. modify --orgfiles so that your org-mode files are parsed
# don't forget to include your version of «about-placeholder.org» and «blog-format.org»
PYTHONPATH="~/src/lazyblorg:" ./lazyblorg.py \
--targetdir testdata/2del/blog \
--previous-metadata ./NONEXISTING_-_REPLACE_WITH_YOUR_PREVIOUS_METADATA_FILE.pk \
--new-metadata ./2del-metadata.pk \
--logfile ./2del-logfile.org \
--orgfiles testdata/end_to_end_test/orgfiles/test.org \
testdata/end_to_end_test/orgfiles/about-placeholder.org \
templates/blog-format.org $@
#END