organized scripts
This commit is contained in:
parent
abdd7e6ef2
commit
0232b09c81
7 changed files with 146 additions and 102 deletions
18
build_exocortex.sh
Executable file
18
build_exocortex.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#This script creates the exocortex
|
||||
|
||||
# start clean
|
||||
rm -rf ./public/exocortex-hugo-md/public/*
|
||||
rm -rf ./public/exocortex-hugo-md/content/
|
||||
|
||||
# create hugo md files using ox-hugo
|
||||
emacs -Q --batch -l ox-hugo-exocortex.el
|
||||
|
||||
# build create html files from hugo markdown files using quartz
|
||||
cd ./public/exocortex-hugo-md/
|
||||
npx quartz build
|
||||
cd ../../
|
||||
|
||||
# copy the generated folder to the main public site
|
||||
rsync -avi --delete ./public/exocortex-hugo-md/public/ ./public/cosmicflow-html/exocortex/
|
||||
|
||||
echo "exocortex created"
|
Loading…
Add table
Add a link
Reference in a new issue