16 lines
468 B
Bash
Executable File
16 lines
468 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Usage:
|
|
# To run with default values of source root and destination root:
|
|
# ./run
|
|
# To run with user supplied values of source root and destination root:
|
|
# e.g.
|
|
# ./run ~/Documents/projects/creative_spirit/content '/var/www/creativespirit.tech/html'
|
|
|
|
|
|
# On Ubuntu 22 pipenv is installed --user mode
|
|
# It is not automatically added to path
|
|
# So we add it here
|
|
export PATH=$PATH:/home/${USER}/.local/bin
|
|
|
|
pipenv run python ./md_to_html.py $1 $2 $3
|