File size: 394 Bytes
41a72c8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
#!/bin/bash
service nginx start
python -m http.server --directory ./static --bind 0.0.0.0 8000 & echo $! > http_server.pid
python manage.py runserver 0.0.0.0:7860
pkill -F http_server.pid
rm http_server.pid
# #!/bin/bash
# cd randai
# #pip install -U g4f
# python manage.py makemigrations
# python manage.py migrate
# python manage.py runserver
# #python manage.py runserver 10.2.99.12:8000
|