Hide warning on native run

pull/281/head
Piero Toffanin 2017-09-03 11:07:19 -04:00 zatwierdzone przez GitHub
rodzic ac70c1120a
commit 4c6f7e4900
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -72,7 +72,7 @@ echo -e "\033[91mNOTE:\033[39m Windows users using docker should replace localho
if [ "$1" = "--setup-devenv" ] || [ "$2" = "--setup-devenv" ] || [ "$1" = "--no-gunicorn" ]; then
python manage.py runserver 0.0.0.0:8000
else
if [ ! -e /webodm/build/static ]; then
if [ -e /webodm ] && [ ! -e /webodm/build/static ]; then
echo -e "\033[91mWARN:\033[39m /webodm/build/static does not exist, CSS, JS and other files might not be available."
fi
nginx -c $(pwd)/nginx/nginx.conf