-
Notifications
You must be signed in to change notification settings - Fork 29
/
run.sh
executable file
·30 lines (24 loc) · 1.21 KB
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh
PYBIN=`which python`
if [ -z "$PYBIN" ]
then
echo "Cannot find python binary"
exit -1
fi
echo -n $($PYBIN --version)
echo "
==========================================================================
= ==== ==== == =================================================
= ==== ==== == =======================================================
= ==== ==== == =======================================================
= ==== ==== == ========= === = ==== === = ==== === === ==
= == == === ==== == = == = == == = ====== = =
== == == === ======== = == ======= == = === ==== == ====
== == == === ======== = == ======= ===== = ==== === == ====
=== == ==== ======== = == ======= = == = == = == == = =
==== ==== ===== ========= === ======== === = === === === ==
========================================================================== v0.3b
"
# in order to handle 40X errors and serve static files the django server must be launched with '--insecure', you can override it by using apache/nginx/XXXX web server
$PYBIN wforensic/manage.py runserver --insecure
exit $?