美文网首页
Блогтарды ubuntu ішінде қалай іс

Блогтарды ubuntu ішінде қалай іс

作者: yaakovazat | 来源:发表于2018-04-30 13:12 被阅读0次

Ubuntu Password : 123456
Ubuntu құпия сөзі: 123456

Ubuntu терминалын енгізіңіз:

Enter the Ubuntu terminal :

How to enter the ubuntu terminal?

Ubuntu терминалына қалай кіру керек?

You can either:
Сіз:

  1. Жоғарғы сол жақтағы Ubuntu белгішесін басу арқылы сызықты ашыңыз, «терминал» теріңіз және көрсетілетін нәтижелерден Терминал бағдарламасын таңдаңыз.

  2. Ctrl-Alt + T пернелер тіркесімін басыңыз.

  • Open the Dash by clicking the Ubuntu icon in the upper-left, type "terminal", and select the Terminal application from the results that appear.
  • Hit the keyboard shortcut Ctrl-Alt+T.

Enter the blog folder of 1st blog :py_kz_blog

Блог қалтасын енгізіңіз

python@ubuntu:~$ ls
python@ubuntu:~$ cd py_kz_blog
python@ubuntu:~$source venv/bin/activate
python@ubuntu:~$python manage.py deploy product
python@ubuntu:~$gunicorn manage:app

Open browser: http://127.0.0.1:8000

Браузерді ашыңыз: http://127.0.0.1:8000

2nd Blog is the same way :

2-ші блог - сол сияқты:

after entered the second blog folder (not mblog ,another one )
екінші блог қалтасынан кейін (mblog емес, екіншісі)
python@ubuntu:~$source venv3/bin/activate
python@ubuntu:~$python manage.py runserver

Open browser: http://127.0.0.1:5000

Браузерді ашыңыз: http://127.0.0.1:5000

相关文章

网友评论

      本文标题:Блогтарды ubuntu ішінде қалай іс

      本文链接:https://www.haomeiwen.com/subject/zfvzlftx.html