1.启动django:
/home/ubuntu/.myenv/myfirst/bin/python /mnt/project/myproject/wanwenyc/manage.py runserver 0.0.0.0:8000
2.添加超级用户
/home/ubuntu/.myenv/myfirst/bin/python /mnt/project/myproject/wanwenyc/manage.py makemigrations
/home/ubuntu/.myenv/myfirst/bin/python /mnt/project/myproject/wanwenyc/manage.py migrate
/home/ubuntu/.myenv/myfirst/bin/python /mnt/project/myproject/wanwenyc/manage.py createsuperuser
3.爬取:
/home/ubuntu/.myenv/myfirst/bin/python -u /mnt/project/myproject/wanwenyc/WWSpider/mybase/getAllAHtmlByRequestHtml.py
/home/ubuntu/.myenv/myfirst/bin/python -u /mnt/project/myproject/wanwenyc/WWSpider/mybase/spiderXiuRenMeiMvWang.py
/home/ubuntu/.myenv/myfirst/bin/python -u /mnt/project/myproject/wanwenyc/WWSpider/mybase/spiderXiuRenMeiMvWangTwo.py
/home/ubuntu/.myenv/myfirst/bin/python -u /mnt/project/myproject/wanwenyc/WWSpider/mybase/spider_xiurenb.py
/home/ubuntu/.myenv/myfirst/bin/python -u /mnt/project/myproject/wanwenyc/WWSpider/mybase/spider_xiurenb_two.py