Commit d8465ed4 authored by tsukumi's avatar tsukumi

Change: don't run when the .env file doesn't exist

parent fd177757
......@@ -4,6 +4,9 @@ if [ "$1" != "" ] && [ -f $1 ]; then
echo "Using provided .env file: $1"
export $(cat .env| grep -v "#" | xargs)
shift
else
echo "No .env file specified. exit."
exit 1
fi
CMD="python3 -u ./backend.py"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment