You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
352 B
Bash
16 lines
352 B
Bash
#!/bin/sh
|
|
|
|
# sometimes cron lacks $LANG. it can cause unicode issues with python
|
|
export LANG="en_US.UTF-8"
|
|
|
|
# poetry can also be in:
|
|
# * ~/.local/bin/ (installed with pip)
|
|
export PATH="$HOME/.local/bin/:$PATH"
|
|
# * ~/.poetry/bin/ (installed with get-poetry)
|
|
export PATH="$HOME/.poetry/bin/:$PATH"
|
|
|
|
DIR="$(dirname $0)"
|
|
cd $DIR
|
|
|
|
poetry run ./manage.py $@
|