mirror of
https://github.com/MobSF/Mobile-Security-Framework-MobSF.git
synced 2026-10-11 22:50:09 +00:00
* QA * Add new android rule setAllow*FromFileURLs * android root bypass and debugger bypass scripts improvements * Dockerfile qa * prevent entrypoint exit if username already exists
14 lines
459 B
Bash
Executable File
14 lines
459 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
python3 manage.py makemigrations && \
|
|
python3 manage.py makemigrations StaticAnalyzer && \
|
|
python3 manage.py migrate
|
|
set +e
|
|
python3 manage.py createsuperuser --noinput --email ""
|
|
set -e
|
|
python3 manage.py create_roles
|
|
|
|
exec gunicorn -b 0.0.0.0:8000 "mobsf.MobSF.wsgi:application" --workers=1 --threads=10 --timeout=3600 \
|
|
--worker-tmp-dir=/dev/shm --log-level=citical --log-file=- --access-logfile=- --error-logfile=- --capture-output
|