Added index script.
h3rald h3rald@h3rald.com
Fri, 06 Oct 2017 21:18:03 +0200
2 files changed,
21 insertions(+),
0 deletions(-)
A
scripts/index.min
@@ -0,0 +1,19 @@
+;Re-index articles +'hastysite import + +"Indexing articles..." notice + +. :pwd +(. "data.db") => "/" join :store + +(. "contents") => "/" join cd + +"Deleting search index..." notice +store rm + +"Importing data..." notice +"litestore -s:$1 -d:articles import" (store) => % ! + +pwd cd + +"All done." notice