pelican-mg/run.sh

13 lines
211 B
Bash
Raw Permalink Normal View History

2017-12-02 23:59:03 +00:00
#!/bin/bash
2019-05-28 04:09:12 +00:00
# USAGE: ./run.sh ( install )
2017-12-02 23:59:03 +00:00
set -o pipefail -o errexit -o nounset -o xtrace
install () {
2019-02-13 20:50:27 +00:00
pip install beautifulsoup4 markdown pelican pillow
2019-02-13 19:13:31 +00:00
./gen_statics_bundles.py || true
2017-12-04 22:53:23 +00:00
}
2017-12-02 23:59:03 +00:00
eval "$1"